CLI File Encryptor
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Anton Smirnov c0214ee705 Update github username 8 小时前
bin Fix composer installation autoload discovery 7 个月前
docs Update github username 8 小时前
src Allow Symfony 5.0 when installed by composer 8 小时前
tests Encryption tests 7 个月前
.gitignore Commit lock for more predictable releases 7 个月前
.gitlab-ci.yml Fix install git 7 个月前
.travis.yml Travis will only test 7 个月前
CHANGELOG.md Add changelog for 1.0.2 8 小时前
LICENSE.md License 8 个月前
README.md Update github username 8 小时前
composer.json Change package namespace 8 小时前
composer.lock Allow Symfony 5.0 when installed by composer 8 小时前
pakefile.php update github username 8 小时前
phpcs.xml Exclude tests 7 个月前

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

License

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