Cryptography Tutorials - Herong's Tutorial Examples - v5.42, by Herong Yang
BlowfishJ - Java Implementation by Markus Hahn
This section describes BlowfishJ - Java implementation of Blowfish by Markus Hahn.
One of the most popular Java implementation of Blowfish cipher is BlowfishJ, developed by Markus Hahn, http://come.to/hahn. Markus used a very efficient form of Blowfish algorithm:
Input: T: 64 bits of clear text P1, P2, ..., P18: 18 sub-keys F(): Round function Output: C: 64 bits of cipher text Algorithm: (L, R) = T, dividing T into two 32-bit parts L = L XOR P1 R = R XOR F(L) XOR P2 L = L XOR F(R) XOR P3 R = R XOR F(L) XOR P4 L = L XOR F(R) XOR P5 R = R XOR F(L) XOR P6 L = L XOR F(R) XOR P7 R = R XOR F(L) XOR P8 L = L XOR F(R) XOR P9 R = R XOR F(L) XOR P10 L = L XOR F(R) XOR P11 R = R XOR F(L) XOR P12 L = L XOR F(R) XOR P13 R = R XOR F(L) XOR P14 L = L XOR F(R) XOR P15 R = R XOR F(L) XOR P16 L = L XOR F(R) XOR P17 R = R XOR P18 C = (R, L)
Table of Contents
Introduction to AES (Advanced Encryption Standard)
DES Algorithm - Illustrated with Java Programs
DES Algorithm Java Implementation
DES Algorithm - Java Implementation in JDK JCE
DES Encryption Operation Modes
PHP Implementation of DES - mcrypt
►Blowfish - 8-Byte Block Cipher
Key Schedule (Sub-Keys Generation) Algorithm
►BlowfishJ - Java Implementation by Markus Hahn
Secret Key Generation and Management
Cipher - Secret Key Encryption and Decryption
RSA Implementation using java.math.BigInteger Class
Introduction of DSA (Digital Signature Algorithm)
Java Default Implementation of DSA
Private key and Public Key Pair Generation
PKCS#8/X.509 Private/Public Encoding Standards
Cipher - Public Key Encryption and Decryption
OpenSSL Introduction and Installation
OpenSSL Generating and Managing RSA Keys
OpenSSL Generating and Signing CSR
OpenSSL Validating Certificate Path
"keytool" and "keystore" from JDK
"OpenSSL" Signing CSR Generated by "keytool"
Migrating Keys from "keystore" to "OpenSSL" Key Files
Certificate X.509 Standard and DER/PEM Formats
Migrating Keys from "OpenSSL" Key Files to "keystore"