Password storage and hashing

Passwords are hashed with a slow, salted algorithm designed for the job. Anything faster is a favour to whoever steals the table.

Lesson 3.210m 16sIntermediate8.5k students

Chapters

10:16
  1. 0:00Intro
  2. 0:26F Tier: Plaintext
  3. 0:55D Tier: Encryption
  4. 1:50C Tier: Hashing
  5. 5:22B Tier: Hashing + Salting
  6. 6:55A Tier: Slow Hashing
  7. 8:45S Tier: Don't Store Passwords
  8. 9:18Recap

What this lesson covers

  • Use a slow, salted hash such as argon2 or bcrypt
  • Tune work factors as hardware improves
  • Handle reset flows without leaking account existence

This lesson sits in Authentication Done Right, part of Practical Web Security. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Use a slow, salted hash such as argon2 or bcrypt
  • Tune work factors as hardware improves
  • Handle reset flows without leaking account existence

Resources