Home / Algorithms / MD5

MD5 is a hash function that condenses arbitrary data into a 128-bit (32 hex-char) value. Designed in 1991, it was long used widely for file checksums and integrity checks.

However, collisions — where different inputs produce the same hash — can be created deliberately, so it must no longer be used for security-critical purposes like signatures, certificates, or passwords. Use it only for simple integrity checks.

Type
Cryptographic hash (legacy)
Bits
128
Output length
32 hex chars
Example · hash of "hello"
5d41402abc4b2a76b9719d911017c592

When to use it

Hash with this algorithm