Key Derivation Tool
Derive keys and password hashes with Argon2id, scrypt, PBKDF2 or HKDF and tune cost parameters in your browser.
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.
Related Tools
HMAC & Bcrypt Generator
Generate and verify HMAC signatures and bcrypt password hashes in your browser.
Hash Generator
Generate and verify MD5, SHA-2, SHA-3, Keccak, and RIPEMD-160 hashes and checksums.
AES Encrypt & Decrypt
Encrypt and decrypt text with AES-128, AES-192, or AES-256 in your browser.
Password Strength Checker
Check how strong a password really is: pattern-aware entropy, estimated crack time, and what weakens it.