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 1 月之前
bin Fix composer installation autoload discovery 1 月之前
docs Stdin explanation 1 月之前
src Decryption tests 1 月之前
tests Encryption tests 1 月之前
.gitignore Commit lock for more predictable releases 1 月之前
.gitlab-ci.yml Fix install git 1 月之前
.travis.yml Travis will only test 1 月之前
CHANGELOG.md 1.0.1 changelog 1 月之前
LICENSE.md License 2 月之前
README.md Docs link 1 月之前
composer.json Commit lock for more predictable releases 1 月之前
composer.lock Commit lock for more predictable releases 1 月之前
pakefile.php Upload task 1 月之前
phpcs.xml Exclude tests 1 月之前

README.md

File Encryptor

Packagist Packagist Travis

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

Installation

Install for local user with composer:

composer global require sandfoxme/encryptor

Install globally by downloading prebuilt phar:

sudo wget https://github.com/sandfoxme/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

License

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