Skip to content

Instantly share code, notes, and snippets.

@alichaudry
Created November 14, 2016 20:23
Show Gist options
  • Save alichaudry/9f0e64f4515e7332c09db4e69ce48082 to your computer and use it in GitHub Desktop.
Save alichaudry/9f0e64f4515e7332c09db4e69ce48082 to your computer and use it in GitHub Desktop.
one-liners to encrypt and decrypt data using openssl (aes256)
# encrypt
openssl enc -aes-256-cbc -salt -a -in twn.csv -out twn.csv.enc
# decrypt
openssl enc -aes-256-cbc -d -a -in twn.csv.enc -out twn.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment