Cryptography Tutorials - Herong's Tutorial Examples - v5.42, by Herong Yang
What Is MD5 Message Digest Algorithm?
This section describes what is MD5 - a message digest algorithm which takes as input a message of arbitrary length and produces as output a 128-bit 'fingerprint'.
Based on the MD5 RFC document, MD5 is message-digest algorithm, which takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given pre-specified target message digest.
MD5 was designed by Ronald Rivest in 1991 to replace an earlier hash function, MD4. MD5 is more secure than MD4. However a number of weaknesses have been found in recent years. The most recent paper published in this area shows that a collision of MD5 can be found within one minute on a standard notebook PC, using a method called tunneling.
Despite its weaknesses, MD5 is widely used in digital signature processes. It's been implemented in many programming languages.
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
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
►What Is MD5 Message Digest Algorithm?
MD5 Message Digest Algorithm Overview
Using MD5 Message Digest in Java
Using MD5 Message Digest in PHP
Using MD5 Message Digest in Perl
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"