CLI File Encryptor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anton Smirnov ea5933381c Stdin explanation 4 週之前
bin Fix composer installation autoload discovery 4 週之前
docs Stdin explanation 4 週之前
src Decryption tests 4 週之前
tests Encryption tests 4 週之前
.gitignore Commit lock for more predictable releases 4 週之前
.gitlab-ci.yml Fix install git 4 週之前
.travis.yml Travis will only test 4 週之前 1.0.1 changelog 4 週之前 License 1 月之前 Docs link 4 週之前
composer.json Commit lock for more predictable releases 4 週之前
composer.lock Commit lock for more predictable releases 4 週之前
pakefile.php Upload task 4 週之前
phpcs.xml Exclude tests 4 週之前

File Encryptor

Packagist Packagist Travis

A small and simple tool to encrypt small files with with libsodium.


Install for local user with composer:

composer global require sandfoxme/encryptor

Install globally by downloading prebuilt phar:

sudo wget -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


Read full documentation here:


The library is available as open source under the terms of the MIT License.