Skip to content

Instantly share code, notes, and snippets.

@fdelbos
Created March 8, 2015 12:04
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 fdelbos/230c8829b263fc95430c to your computer and use it in GitHub Desktop.
Save fdelbos/230c8829b263fc95430c to your computer and use it in GitHub Desktop.
encrypt a file
# encrypt
openssl enc -aes-256-cbc -in myfile.tar -out myfile.tar.enc
# decrypt
openssl enc -aes-256-cbc -d -in myfile.tar.enc -out myfile.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment