Skip to content
Jellykit

PBKDF2 Hash Generator

Derive a key or password hash with PBKDF2 using SHA-256 or SHA-512, your salt and iteration count. Hex or Base64 output, computed locally with Web Crypto. Free.

Runs in your browser. Nothing is uploaded.

About PBKDF2 Hash Generator

PBKDF2 turns a password and a salt into a key by running HMAC thousands of times, which makes each guess slow for an attacker. It is built into every platform, used by Wi-Fi WPA2, many password managers and Django's default password hasher.

Set the salt, iteration count, hash and output length to match the system you are testing, and compare outputs. The stats show how long the derivation took on your device, a useful feel for the cost an attacker pays per guess.

OWASP currently recommends at least 600,000 iterations for PBKDF2-HMAC-SHA256 when hashing passwords, which is the default here.

How to use PBKDF2 Hash Generator

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Is PBKDF2 as good as bcrypt or Argon2?

It is acceptable with high iteration counts, but Argon2id and scrypt resist GPU cracking better because they also use lots of memory.

Should the salt be secret?

No. A salt only needs to be unique and random per password. Store it alongside the hash.

Is PBKDF2 Hash Generator free and private?

Yes. PBKDF2 Hash Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all security tools →