MD5 (Message Digest Algorithm 5) generates a 128-bit fingerprint (32 hexadecimal characters). Although cryptographically obsolete and vulnerable to collisions, MD5 remains widely used for non-security cases: file checksums, fingerprinting, caching and non-critical identifiers.
MD5 produces a 32-character hexadecimal hash (128 bits) from an input of arbitrary size. The algorithm is fast but has known cryptographic vulnerabilities since 2004 (intentional collisions possible). For security (passwords, signatures), use SHA-256, bcrypt or argon2. For non-critical checksums, file comparison or caching, MD5 remains practical.
📐 Formula
📊 Reference table
| Input | MD5 hash (32 hex characters) |
|---|---|
| "hello" | 5d41402abc4b2a76b9719d911017c592 |
| "Hello" | 8b1a9953c4611296a827abf8c47804d7 |
| "" (empty) | d41d8cd98f00b204e9800998ecf8427e |
| "password" | 5f4dcc3b5aa765d61d8327deb882cf99 |