arokettu / encryptor
CLI File Encryptor
1.1.2
2021-11-05 22:54 UTC
Requires
- php: ^7.2 | ^8.0
- ext-sodium: *
- sandfoxme/bencode: ^1.5 | ^2.5 | ^3.0
- symfony/console: ^4 | ^5 | ^6
- symfony/polyfill-php80: ^1.18
Requires (Dev)
- composer-runtime-api: ^2
- indeyets/pake: ^1.99
- knplabs/github-api: ^3.0
- nyholm/psr7: ^1.4
- phpunit/phpunit: ^8.5 | ^9.5
- sandfox.dev/code-standard: 7.2.x@dev
- secondtruth/phar-compiler: ^1.1
- squizlabs/php_codesniffer: ^3.4
- symfony/http-client: ^4 | ^5 | ^6
This package is auto-updated.
Last update: 2022-07-23 00:32:25 UTC
README
A small and simple tool to encrypt small files with with libsodium.
Installation
Install for local user with composer:
composer global require arokettu/encryptor
Install globally by downloading prebuilt phar:
sudo wget https://github.com/arokettu/php-encryptor/releases/latest/download/encryptor.phar -O /usr/local/bin/encryptor sudo chmod +x /usr/local/bin/encryptor
Simple usage
Encrypt file:
encryptor encrypt filename.txt
Decrypt file:
encryptor decrypt filename.txt.encrypted
You will be interactively asked for the password
Documentation
Read full documentation here: https://sandfox.dev/php/encryptor.html
Also on Read the Docs: https://php-encryptor.readthedocs.io/
License
The library is available as open source under the terms of the MIT License.