Skip to content

Instantly share code, notes, and snippets.

@madsonic
Last active July 16, 2019 02:58
Show Gist options
  • Save madsonic/f39588a3279de21e9181492424d69556 to your computer and use it in GitHub Desktop.
Save madsonic/f39588a3279de21e9181492424d69556 to your computer and use it in GitHub Desktop.
openssl encryption decryption
# encrypt
openssl aes-256-cbc -in <file> -out <file> -md sha1 -base64
# decrypt
openssl aes-256-cbc -d -in <file> -out <file> -md sha1 -base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment