MD2, MD4 and MD5 hashing

Use this tool to quickly calculate MD2, MD4 and MD5 hashes.

Use this tool to quickly calculate MD2, MD4 and MD5 hashes.

Write or paste your text in the box below


MD2, MD4 and MD5

MD2, MD4, and MD5 are cryptographic hash functions that generate a fixed-size hash value or message digest from input data of any size. They were developed by Ronald Rivest in the 1980s and 1990s.

MD2 (Message Digest Algorithm 2) was the first in the MD series. It produces a 128-bit hash value and operates on 16-byte blocks. However, it is considered to be weak against collision attacks and is no longer recommended for most applications.

MD4 (Message Digest Algorithm 4) is a faster variant of MD2, producing a 128-bit hash value. Unfortunately, it also suffers from vulnerability to collision attacks, and its usage is not recommended for cryptographic purposes.

MD5 (Message Digest Algorithm 5) is the most widely known and used among the three. It generates a 128-bit hash value and operates on 64-byte blocks. However, MD5 is also vulnerable to collision attacks and is considered to be broken for cryptographic applications.

Due to their known vulnerabilities, MD2, MD4, and MD5 are not recommended for secure cryptographic purposes today. They have been replaced by more robust hash functions, such as SHA-256 and SHA-3, which offer better security against attacks.