Skip to content

Instantly share code, notes, and snippets.

@n0nick
Created December 6, 2013 12:43
Show Gist options
  • Save n0nick/7823161 to your computer and use it in GitHub Desktop.
Save n0nick/7823161 to your computer and use it in GitHub Desktop.
{en,de}crypting files
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