Skip to content

Instantly share code, notes, and snippets.

@PercussiveRepair
Forked from jbonney/encrypt_decrypt.sh
Created March 24, 2014 08:56
Show Gist options
  • Save PercussiveRepair/9736654 to your computer and use it in GitHub Desktop.
Save PercussiveRepair/9736654 to your computer and use it in GitHub Desktop.
#Encryption
openssl enc -in important_backups.tar.gz -aes-256-cbc -e > important_backups_encrypted.tar.gz
# Decryption
openssl enc -in important_backups_encrypted.tar.gz -aes-256-cbc -d > important_backups_decrypted.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment