Argon2
RecommendedArgon2 is the winner of the 2015 Password Hashing Competition. It comes in three variants: Argon2d (data-dependent), Argon2i (data-independent), and Argon2id (hybrid, recommended). It is the current state-of-the-art for password hashing.
What is Argon2?
Argon2 is a recommended cryptographic hash algorithm that produces a Configurable (typically 256 bits / 32 bytes) output. Argon2 is the winner of the 2015 Password Hashing Competition. It comes in three variants: Argon2d (data-dependent), Argon2i (data-independent), and Argon2id (hybrid, recommended). It is the current state-of-the-art for password hashing. It is classified as very slow (intentional) in performance and commonly used for password hashing (argon2id is the recommended variant) and key derivation for encryption.
Output Length
Configurable (typically 256 bits / 32 bytes)
Speed
Very Slow (Intentional)
Security
Recommended
Performance
Intentionally slow with configurable memory, CPU, and parallelism parameters. Resists both CPU and GPU brute-force attacks.
Use Cases
- → Password hashing (Argon2id is the recommended variant)
- → Key derivation for encryption
- → New systems and applications requiring password storage
- → High-security authentication systems
Example Hash
Input:
MyPassword123
Argon2 Output:
$argon2id$v=19$m=65536,t=3,p=4$c2FsdHNhbHRzYWx0$WtQH8gOf8fVOvhKaYl0MjJTM
Try Argon2 Password Hasher
Hash and verify passwords with Argon2 directly in your browser via WebAssembly. Free, instant, and 100% private.
Try Argon2 Now →