What is Argon2 and its variants?
mainArgon2 is a secure password hashing algorithm standardized in RFC 9106. It is designed to be both time-configurable (runtime) and memory-configurable (memory consumption), making it resistant to GPU and ASIC-based parallel cracking attacks.
There are three main variants:
- Argon2d: Optimized for resistance against time–memory trade-offs.
- Argon2i: Optimized for resistance against side-channel attacks.
- Argon2id: A hybrid variant that combines the strengths of both
dandi. It is considered the main variant and the recommended choice for most applications.