Skip to content

Password hashing

Password hashes are supposed to be slow. The point is that if your database leaks, the attacker pays the same cost per guess that you paid per login. Drag the cost sliders below to see the trade-off curve in real time.

A fixed demo salt is used so two runs of the same password reproduce. In production the salt is per-user random.

19 MiB (OWASP minimum is 19 MiB)

Argon2id

secure

The 2026 default. Memory-hard. Three tunable knobs. Recommended by OWASP and NIST.

bcrypt

deprecated

The classic. Still everywhere in legacy systems. No memory-hardness knob; capped input at 72 bytes.

scrypt

secure

The original memory-hard hash. Still defensible; Argon2id is just the better-engineered successor.

Deep dives on password hashing