Skip to content

Instantly share code, notes, and snippets.

@khanhicetea
Last active October 1, 2018 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khanhicetea/304bd6ec6f2af2a33c2f678eafd3b8ba to your computer and use it in GitHub Desktop.
Save khanhicetea/304bd6ec6f2af2a33c2f678eafd3b8ba to your computer and use it in GitHub Desktop.
[Encrypt and Decrypt file using openssl] #encrypt #decrypt

Encrypt

openssl enc -aes-256-cbc -in [input] -out [output]

Decrypt

openssl enc -aes-256-cbc -d -in [input] > [output]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment