Last active
December 12, 2015 06:08
-
-
Save samba/4726459 to your computer and use it in GitHub Desktop.
OpenSSL for file encryption
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## to encrypt | |
openssl aes-256-cbc -e -in plaintext.txt -out crypted.blob | |
## to decrypt | |
openssl aes-256-cbc -d -in crypted.blob -out plaintext.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment