Created
October 7, 2013 22:55
-
-
Save chris-piekarski/6876398 to your computer and use it in GitHub Desktop.
Symetric Ciphers
This file contains 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
Blowfish in CFB | |
---- exchange password with bob ------> | |
export PASSWORD=no_nsa | |
echo "hello, bob!" > plaintext.doc | |
openssl bf-cfb -salt -in plaintext.doc -out ciphertext.bin -pass env:PASSWORD | |
openssl base64 -in ciphertext.bin -out base64.txt | |
---- send to bob -----> | |
openssl base64 -d -in base64.txt -out base64Bob.bin | |
openssl bf-cfb -d -salt -in base64Bob.bin -out bobplaintext.doc -pass env:PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment