OpenSecEd / appliedcrypto

Learning module for Applied Cryptography
5 stars 0 forks source link

Add better coverage of hash functions #60

Open dbosk opened 2 years ago

dbosk commented 2 years ago

Particularly that collision resistance implies second preimage resistance, which in turn also implies preimage resistance.

The reductions are something along the lines of this:

It's actually a bit more complicated when looking at the details, I can recommend reading "Cryptographic Hash-Function Basics: Definitions, Implications, and Separations for Preimage Resistance, Second-Preimage Resistance, and Collision Resistance" by Rogaway and Shrimpton. They cover the details very nicely.