One real login, drawn end to end: how a password is stored so a stolen database is useless on its own, and how a browser stays logged in afterward without resending it. It puts the hash and the HMAC from Cryptography Foundations to work.
Before you start.Cryptography Foundations gave you two tools this lesson spends. A hash scrambles anything into a fixed-length string with no way back to the original. An HMAC is a hash mixed with a secret key, so only whoever holds that key could have produced it. Nothing else is assumed.
Think of one building with one door. Everyone who works there set a PIN on their first day, to prove at the door they are who they say. What the building does with that PIN, and what it hands you afterward so you don’t retype it at every elevator, is this lesson.
Lesson 3 of 39 in Security · Free with an account
Keep reading. It's free.
A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.
No card, and chalk sends no email. Google sign-in only.