Math · Intermediate · Lesson 5 of 7
Fingerprints for Data
Hash functions and the birthday attack
An interactive lesson with 7 steps, about 6 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Hashes are short, fixed-length fingerprints of data.
- Collisions must exist (pigeonhole), but should be infeasible to find.
- The birthday attack finds collisions in about tries, so hashes need long outputs.
Steps
- A digital fingerprint
- The avalanche
- Collisions must exist
- Salt
- The birthday attack
- Birthdays for hashes
- Brute-forcing a collision