PBKDF2 Key Derivation
Derive a key from a password with tunable iterations, salt, and digest.
- Input and output stay in memory and are gone when you leave this page.
Nothing saved
Input and output stay in memory and are gone when you leave this page. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Password and salt
Derived key
Configure parameters, enter a password and salt, and click Derive to compute the PBKDF2 key.
How PBKDF2-HMAC Works (RFC 8018)
PBKDF2 applies a pseudorandom function (HMAC over a chosen cryptographic hash) repeatedly for iterations rounds to a password and salt, concatenating 32-bit block counters to stretch the output to any requested byte length. Salt randomization draws 16 fresh bytes from randomBytes.
OWASP Iteration Guidance (OWASP Password Storage Cheat Sheet)
Because each PBKDF2 iteration performs one HMAC evaluation, a wider 64-bit hash likeSHA-512 performs roughly twice the work per round of SHA-256:
PBKDF2-HMAC-SHA1:1,300,000iterations minimumPBKDF2-HMAC-SHA256:600,000iterations minimumPBKDF2-HMAC-SHA512:210,000iterations minimum
Scope & Limits
PBKDF2 only. It is the weakest of the three password KDFs this product offers: it is not memory-hard, so a GPU or an ASIC evaluates it orders of magnitude faster than the server that set the iteration count. For storing passwords, use Argon2id in T23; PBKDF2 belongs here for interoperating with systems that already chose it.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.