Last active
August 29, 2015 14:00
-
-
Save ayosec/11177563 to your computer and use it in GitHub Desktop.
OpenSSL: DES3 to encrypt/decrypt with passwords
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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