Kept as typed
leaked10 of 10
Every password readable the moment it leaks.
Module 40 · Logins and passwords
Larkspur Supply Co. opens trade accounts for its builders. Here you store their passwords, race a thief who stole the table, and hand out cloakroom tickets.
The whole idea in one example
10 of 10
Every password readable the moment it leaks.
4 of 10
Only the passwords on a leaked list fall within a year.
Demo accounts written for this site. Guess rates come from one dated graphics-card benchmark; a password off the list is an estimate of trying every combination.
How it works
Keep a hash, never the password
One RTX 4090 tried 21,975.5 million SHA-256 guesses a second in Chick3nman’s hashcat 6.2.6 benchmark (October 2022).
Source, checked 30 October 2026
Equal passwords, different fingerprints
OWASP: with a salt per password, cracking time grows in direct proportion to the number of hashes, and nobody can tell whether two users share a password without cracking them.
Source, checked 30 October 2026
Every guess costs many rounds
OWASP’s Password Storage Cheat Sheet puts Argon2id first; where PBKDF2-HMAC-SHA256 is used, it asks for at least 600,000 iterations and a unique salt per password.
Source, checked 30 October 2026
After sign-in, a cookie is the key
RFC 6265 (2011): an HttpOnly cookie is hidden from page scripts, and a Secure cookie is sent only over encrypted connections.
Source, checked 30 October 2026
The story
Larkspur Supply Co. opens trade accounts for its builders; the team learns a site never keeps your password, only a slow, salted fingerprint of it, and after sign-in a cookie is the key. You’re on the team that builds the sign-in.
Your path





Chapter 5 · done
What proves it is Jo after sign-in, and what if someone copies it?

Chapter 6 · done
How does another site vouch for you, and what stops a thief faking it?

Chapter 7 · done
Which store, second factor and session length lose the fewest accounts?
Anyone who builds or buys a sign-in page. It builds on Locks and keys, which teaches the hash and the signature themselves.