Skip to content

Instantly share code, notes, and snippets.

@sreeprasad
Created June 1, 2018 05:27
Show Gist options
  • Save sreeprasad/a02cc14d9a8f4a8c6465da37db48f241 to your computer and use it in GitHub Desktop.
Save sreeprasad/a02cc14d9a8f4a8c6465da37db48f241 to your computer and use it in GitHub Desktop.
// to encrypt
openssl enc -aes-256-cbc -e -in ~/location/of/file/to/encrypt -out ~/location/to/put/encrypted/file
// to decrypt
openssl enc -aes-256-cbc -e -in ~/location/of/file/to/decrypt -out ~/location/to/put/decrypted/file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment