PrepCity

Password storage and credential stuffing

Security in depth · 1 of 7Security in depth 1 / 7, see the whole branchOpen the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Branch: Security in depth · step 1 of 7 · 14 pages · about 12 min

Password storage and credential stuffing

A stolen users table should not hand over passwords. Plain text, encryption and fast hashes fail; a salt per user and a slow, memory-hard hash like Argon2id turn cracking into years. NIST-style length and breached-password checks stop weak choices, and rate limits keep stuffing from melting the login.

What it is
Password storage is how a system keeps what it needs to check a password without being able to read it back, and how it defends the login that uses it.
What it is for
Users tables leak, people reuse passwords, and attackers crack fast hashes with graphics cards or replay leaked pairs at your login.
Use it when
Any time your system lets people sign in with a password, including admin tools and internal apps.
Not when
It does not stop phishing or a password stolen from another site; that needs a second factor or passkeys.

New words you’ll learn

  • ECB mode
  • Salting
  • GPU
  • Credential stuffing
  • Phishing

Page by page