Key Derivation Tool

Derive keys and password hashes with Argon2id, scrypt, PBKDF2 or HKDF and tune cost parameters in your browser.

Runs in your browser — your data never leaves your device

Frequently Asked Questions

Which key derivation function should I use for passwords?

Argon2id is the current first choice. Use scrypt if Argon2 is unavailable, bcrypt for legacy systems, and PBKDF2 only when FIPS compliance requires it. HKDF is not a password hash because it is fast by design.

What Argon2id settings does OWASP recommend?

At least 19 MiB of memory with 2 iterations and 1 lane of parallelism, or 46 MiB with 1 iteration. Raise memory and iterations until a hash takes roughly 0.5 to 1 second on your server.

What is the salt for?

A unique random salt, at least 16 bytes, makes every hash different even for identical passwords. That defeats rainbow tables and stops an attacker from cracking many accounts in one pass. It is not secret and is stored beside the hash.

When do I use HKDF instead?

Use HKDF when you already have a strong key, such as a Diffie-Hellman result or a random master key, and need to derive several independent sub-keys from it. Give each purpose its own info string.

Is anything sent to a server?

No. Argon2id and scrypt run as WebAssembly in your browser, and PBKDF2 and HKDF use Web Crypto. Large memory settings can take several seconds and use that much RAM in the tab.