Encrypt a file, or decrypt a file and print to stdout
Etch(1)
Encrypt a file, or decrypt a file and print to stdout.
Options:
-e, --encrypt <file> Encrypt file to new file <file>-aes256
-d, --decrypt <file> Decrypt a file and print to stdout
-h, --help Print this help message
etch -e ~/secret.txt
> ~/secret.txt-aes256
You'll be prompted for a passphrase to encrypt the file. The encrypted data is
the written to file in the same directory as the input file, in the
case above ~/secret.txt-aes256
.
etch -d ~/secret.txt-aes256
> My secret data...
You'll be prompted for the passphrase used to encrypt the file before the
decrypted data is printed to stdout
.
MIT License