Skip to content

Instantly share code, notes, and snippets.

@fser
Created March 23, 2014 13:49
Show Gist options
  • Save fser/9723298 to your computer and use it in GitHub Desktop.
Save fser/9723298 to your computer and use it in GitHub Desktop.
#!/bin/bash
openssl aes-256-cbc -d -a -in $1 -out $1.clear
echo "clear file is in $1.clear"
#!/bin/bash
openssl aes-256-cbc -a -salt -in $1 -out $1.enc
echo "encrypted file is in $1.enc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment