Skip to content

Instantly share code, notes, and snippets.

@samba
Last active December 12, 2015 06:08
Show Gist options
  • Save samba/4726459 to your computer and use it in GitHub Desktop.
Save samba/4726459 to your computer and use it in GitHub Desktop.
OpenSSL for file encryption
## 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