A simple program to encrypt and decrypt a file. Uses defuse/php-encryption for encryption and symfony/console for console interface.
- clone
composer install
- set
./main.php
as executable
- For encryption
./main.php encrypt <inputfile> <outputfile>
- For decryption
./main.php decrypt <inputfile> <outputfile>
The program prompts for a passphrase.