Skip to content

Instantly share code, notes, and snippets.

@ayosec
Last active August 29, 2015 14:00
Show Gist options
  • Save ayosec/11177563 to your computer and use it in GitHub Desktop.
Save ayosec/11177563 to your computer and use it in GitHub Desktop.
OpenSSL: DES3 to encrypt/decrypt with passwords
mkdir -p /tmp/openssl-test
cd /tmp/openssl-test
date > test_file
openssl des3 -e -salt -in test_file -out test_file.des3 -k foo.bar.1
echo test_file.des3:
hexdump -C test_file.des3
openssl des3 -d -salt -in test_file.des3 -out open -k foo.bar.1
echo open:
cat open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment