Skip to content

Instantly share code, notes, and snippets.

@javasboy
Forked from fser/decrypt
Created April 17, 2014 08:03
Show Gist options
  • Save javasboy/10962947 to your computer and use it in GitHub Desktop.
Save javasboy/10962947 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