Generate MD2 hashes from text strings with our secure online tool. MD2 is an older cryptographic hash function producing 128-bit hashes.
Generate MD2 hashes from text strings and messages
Get your MD2 hash immediately with client-side processing
Copy generated hash to clipboard with a single click
            🔒 Client-Side Processing
            All hashing is done in your browser using JavaScript. Your data never leaves your device, ensuring maximum privacy and security.        
MD2 (Message Digest Algorithm 2) is a cryptographic hash function developed by Ronald Rivest in 1989. It was the first in the MD family of hash functions and produces a 128-bit (16-byte) hash value, typically expressed as a 32-character hexadecimal number.
⚠️ Security Warning: MD2 is considered completely broken and vulnerable to collision attacks and preimage attacks. It has been deprecated and should not be used for any security purposes. Consider using modern algorithms like SHA-256 or SHA-3.
MD2 was used in some early cryptographic systems and standards:
| Application | Historical Usage | 
|---|---|
| X.509 certificates | Early digital certificates used MD2 with RSA | 
| Privacy-Enhanced Mail (PEM) | Early email encryption standard | 
| Early cryptographic protocols | Some legacy systems from the early 1990s | 
| Algorithm | Output Size | Security Status | Common Uses | 
|---|---|---|---|
| MD2 | 128 bits | Completely Broken | Historical only | 
| MD4 | 128 bits | Broken | Legacy systems | 
| MD5 | 128 bits | Vulnerable | Checksums, non-crypto uses | 
| SHA-256 | 256 bits | Secure | Cryptography, blockchain, certificates | 
MD2 was an important early step in the development of cryptographic hash functions. While completely insecure by modern standards, it helped establish principles that guided the development of later algorithms like MD4, MD5, and the SHA family.
💡 For any security applications, use modern hash algorithms like SHA-256, SHA-3, or BLAKE2. MD2 should only be used for educational purposes or compatibility with extremely old systems.
                        English