Hash Lab

Password hashing / KDF

Argon2id

A modern password hashing function from Biryukov, Dinu, and Khovratovich (University of Luxembourg). Winner of the Password Hashing Competition (PHC) in 2015, standardized as RFC 9106 in 2021. Argon2id is the recommended default for new password storage and any slow KDF use case.

At a glance

OutputConfigurable (typically 32 bytes)
Cost parametersmemory m, time t, parallelism p
Internal primitiveBLAKE2b-based compression over a memory matrix
StandardRFC 9106 (2021); PHC winner (2015)
StatusModern, recommended

Three flavors of Argon2

Cost parameters

Why memory-hardness matters

Attackers brute-force passwords with GPUs / FPGAs / ASICs. A memory-hard function forces a large RAM working set per password attempt , the attacker’s hardware budget grows linearly with the candidate count. GPUs have far less memory per core than CPUs do.

Where it is used

Choosing parameters

RFC 9106 baseline recommendations: t=1, m=2 GiB, p=4(high-security server) or t=3, m=64 MiB, p=4(memory- constrained). Tune until interactive logins take 100–500 ms on the real server hardware.

Try it

The KDF Lab includes Argon2id with interactive t, m, p sliders so you can feel how cost scales.

References

Generate

Run argon2id on your input

16 bytes

3

64

1

Quick quiz

Test yourself on argon2id

10 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.Argon2 won which competition?

  2. Q2.Argon2id is the:

  3. Q3.RFC that standardizes Argon2:

  4. Q4.Argon2 internal primitive:

  5. Q5.Argon2id's three cost parameters:

  6. Q6.RFC 9106's 'first recommended' (high security):

  7. Q7.What makes Argon2 GPU-resistant?

  8. Q8.Which library defaults to Argon2id?

  9. Q9.How long should an interactive Argon2id call take?

  10. Q10.Argon2id vs bcrypt for new designs:

0 of 10 answered