Created
December 6, 2013 12:43
-
-
Save n0nick/7823161 to your computer and use it in GitHub Desktop.
{en,de}crypting files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function encrypt() { | |
openssl des3 -salt -in $* -out $*.secret | |
} | |
function decrypt() { | |
openssl des3 -salt -d -in $* -out $*.plain | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment