What Makes a Good Hash Function
Explore pre-image resistance, collision resistance, and avalanche effect.
Welcome
A cryptographic hash function transforms any input into a fixed-length digest. In this lesson we study the properties that make a hash function cryptographically secure.
Deterministic Output
Hash(M) always produces the same output for the same input. SHA-256('hello') is always aabb... no matter where or when you compute it.
All lessons in this course
- What Makes a Good Hash Function
- MD5: History, Uses & Why It Is Broken
- SHA-1 & SHA-2 Family Explained
- Hash Applications: Checksums, HMAC & Git