Skip to content

Instantly share code, notes, and snippets.

@classmember
Created January 4, 2020 23:29
Show Gist options
  • Save classmember/9611cd17faa390b3e84c64b2af9c3174 to your computer and use it in GitHub Desktop.
Save classmember/9611cd17faa390b3e84c64b2af9c3174 to your computer and use it in GitHub Desktop.
encrypt() {
openssl aes-256-cbc -a -salt -in $1 -out $1.enc
}
decrypt() {
openssl aes-256-cbc -d -a -in $1 -out $1.unlocked
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment