Blowfish Cipher Tutorials - Herong's Tutorial Examples - v2.03, by Herong Yang
What is OpenSSL
A quick introduction is provided for OpenSSL, which is cryptography toolkit to support testing of Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols, as well as a full-strength general purpose cryptography library.
What Is OpenSSL? OpenSSL is a cryptography toolkit implementing the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols as well as a full-strength general purpose cryptography library.
OpenSSL toolkit can be accessed from its command line interface to perform functionalities provided from the OpenSSL cryptography library. The command line tool can be used for:
The current version of OpenSSL is 1.0.2e released on 03-Dec-2015.
For more information, see OpenSSL home page at: https://www.openssl.org/.
Table of Contents
►OpenSSL "enc -bf-ecb" for Blowfish/ECB Encryption
Installing OpenSSL for Windows
OpenSSL "enc" Blowfish Ciphers
Ways to Control Secret Key and IV
"bf-ecb" Cipher with Literal Key
"bf-ecb" Cipher on Multiple Blocks
Secret Key Padding and Truncation
"bf-ecb" Cipher with Salted Key
Salted Key Generation Algorithm
"bf-ecb" Cipher with Random Salt
OpenSSL Default Padding - PKCS#5
OpenSSL "enc -bf-cbc" for Blowfish/CBC Encryption
OpenSSL "enc -bf-cfb" for Blowfish/CFB Encryption
OpenSSL "enc -bf-ofb" for Blowfish/OFB Encryption