Cryptographic hash functions · 02 History

Hash functions: history

From the first cryptographic hash functions to the SHA family, from MD5’s success to collisions, to the competition that produced SHA-3.

  1. Ralph Merkle describes in his thesis a method for building hash functions from compression functions; Ivan Damgård proves its properties in 1989.

  2. Ron Rivest publishes MD4 and then MD5, which for years becomes the most used hash function.

  3. The NSA designs SHA-0 and, after a correction, SHA-1, standardised by NIST.

  4. The SHA-2 family, including SHA-256 and SHA-512, is published.

  5. Xiaoyun Wang and colleagues present collisions for MD5 and other functions: the end of MD5 as a secure function.

  6. NIST runs a public competition for a new standard; Keccak wins.

  7. The SHA-3 standard is published.

  8. Researchers from Google and CWI Amsterdam publish the first practical SHA-1 collision, called SHAttered.

Why a competition for SHA-3 too

SHA-2 had not been broken, but it shared the architecture of MD5 and SHA-1. NIST wanted a structurally different alternative ready in case the attacks were extended. SHA-3 does not replace SHA-2: it stands beside it as a solid reserve.

Continue with
03 The maths

Hash functions: the maths

The birthday paradox and why security against collisions is half the length of the value, with the pigeonhole principle.

↑