No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md May 24, 2016
decrypt.sh
encrypt.sh

README.md

page title tags date
Simple OpenSSL File Encrypt/Decrypt
bash openssl
2016-05-06

Two paired CLI scripts which perform very simple AES-256 encryption of any file using openssl aes-256-cbc. A password is required for any encrypt or decrypt operations

encrypt.sh

decrypt.sh

Usage:

$ ls
1.jpg
2.jpg
$ ./encrypt.sh *.jpg
$ ls
1.jpg
1.jpg.enc
2.jpg
2.jpg.enc
$ rm *.jpg
$ ls
1.jpg.enc
2.jpg.enc
$ ./decrypt.sh *.enc
$ ls
1.jpg
1.jpg.enc
2.jpg
2.jpg.enc