Skip to content

Instantly share code, notes, and snippets.

@ritxi
Created July 1, 2015 14:12
Show Gist options
  • Save ritxi/29db85fc9bfc99aa83ad to your computer and use it in GitHub Desktop.
Save ritxi/29db85fc9bfc99aa83ad to your computer and use it in GitHub Desktop.
Encrypt/Decrypt files
# Encrypt file
openssl enc -in file.tar.bz2 -out file.tar.bz2.enc -e -aes256 -k password
# Decrypt file
openssl enc -in file.tar.bz2.enc -out file.tar.bz2 -d -aes256 -k password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment