MicrolearnENPTES

Storing passwords

Lesson 12 of 20 · Cipher.Micro

Never store passwords: store salted, slow hashes.

Rounds: 1 · ≈ 1.00 × 10^9 guesses/s · 8 lowercase letters: 2 minutes

The site stores only hashes, good. But Ana and Bia chose the same password and their hashes are identical: crack one, get both, and attackers use precomputed tables of common hashes.

Check yourself

What does a salt prevent?

Do it in the browser: a real cryptography tool, a short mission and instant feedback. No install.

Start this lesson — free
← Checking integrityBlock ciphers and modes →

All lessons · Cipher.Micro