Argon2 Hash Generator

Generate Argon2id password hashes — OWASP recommended

Note: When the argon2-browser WebAssembly library loads, this tool computes real Argon2 hashes. If the library fails to load (e.g., older browser), it falls back to a simulated reference format. For production, prefer server-side Argon2 libraries (e.g., PHP password_hash(), Python argon2-cffi).

Why Argon2?

Password Hashing Competition Winner

Won the PHC in 2015, selected from 24 submissions.

OWASP Recommended

First choice for password hashing in OWASP guidelines.

Memory-Hard

Resists GPU/ASIC attacks by requiring configurable memory.

How to Use

  1. Enter the password you want to hash.
  2. Choose a variant (Argon2id is recommended for most use cases).
  3. Adjust iterations, memory, and parallelism to match your server capacity.
  4. Click Generate Hash, then copy the resulting Argon2 PHC string.

FAQ

Argon2 is a password hashing function that won the Password Hashing Competition in 2015. It is memory-hard, making it resistant to GPU and ASIC attacks, and is the OWASP-recommended choice for password hashing.

Argon2id is the recommended default because it combines side-channel resistance (from Argon2i) and GPU resistance (from Argon2d). Use Argon2i for side-channel-protected environments and Argon2d only when side-channel attacks are not a concern.

OWASP 2025 recommends Argon2id with at least 19 MiB memory, 2 iterations, and parallelism 1. For higher security, use 64 MiB or more memory with 3 iterations.