Skip to content

Encrypt a file, or decrypt a file and print to stdout.

Notifications You must be signed in to change notification settings

chrstphrknwtn/etch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Etch

Encrypt a file, or decrypt a file and print to stdout

Usage

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

Encrypt a file

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.

Decrypt a file

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.

License

MIT License

About

Encrypt a file, or decrypt a file and print to stdout.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages