Parameter specification
- digest bits
- 128
- block bits
- 512
- word bits
- 32
- rounds
- 64
- construction
- Merkle-Damgård (4 rounds of 16 steps)
- standard
- IETF RFC 1321
128-bit Merkle-Damgård hash function specified in RFC 1321 with 64 steps across four rounds. Collision resistance is completely broken in practice (identical-prefix and chosen-prefix collisions); full-round preimage resistance is broken theoretically below 2^128.
KAT verification checks agreement with the stated vectors. Security and attack costs require separate evidence.
Max Fillinger, Marc Stevens · · mathematical · differential
Goal: collision
In-the-wild chosen-prefix collision on full 64-step MD5 used to forge a Microsoft code-signing certificate
collision · 64/64 rounds · Time 2^49.3 MD5 compression function evaluations · Memory unreported
Independent chosen-prefix variant discovered in the 2012 Flame malware; proven lower bound is 2^46.6 compressions.
Marc Stevens, Alexander Sotirov, Jacob Appelbaum, Arjen Lenstra, David Molnar, Dag Arne Osvik, Benne de Weger · · mathematical · differential
Goal: collision
Chosen-prefix collision on full 64-step MD5 with arbitrary distinct prefixes
collision · 64/64 rounds · Time 2^49 MD5 compression function evaluations · Memory unreported
Demonstrated practically by generating a rogue intermediate X.509 CA certificate trusted by browsers.
Yu Sasaki, Kazumaro Aoki · · mathematical · meet_in_the_middle
Goal: preimage
Full 64-step MD5 preimage attack using splice-and-cut and initial structures
preimage · 64/64 rounds · Time 2^123.4 MD5 compression function evaluations · Memory 2^45
Same paper achieves pseudo-preimage complexity 2^116.9 with memory 2^45 x 11 words; full preimage remains computationally infeasible.
Xiaoyun Wang, Hongbo Yu · · mathematical · differential
Goal: collision
Identical-prefix collision on full 64-step MD5 using modular differential paths
collision · 64/64 rounds · Time 2^39 MD5 compression function evaluations · Memory unreported
Landmark practical collision breaking MD5 in minutes to hours on 2005 commodity hardware.
Although identical-prefix and chosen-prefix collision resistance of MD5 are completely broken in practice, the best published full-round preimage attack (2^123.4 time, 2^45 memory) remains close to the 2^128 brute-force bound and computationally infeasible.
curl -fsSL https://cryptarena.ai/api/v1/primitives/md5.json
No executable verifier is registered for this variant.
API contract & interpretation guide