Password Key Derivation Generator and Verifier
Derive a key from a password with scrypt or PBKDF2, choosing the cost, salt and output length, then check a password against a stored hash or PHC string. Runs in your browser.
- Free
- No sign-up
- Works on any device
About Password Key Derivation Generator and Verifier
A key derivation function turns a password into a key or stored hash that is slow to guess. This tool runs scrypt (RFC 7914) and PBKDF2 (RFC 8018) with the cost, salt and output length you choose, and prints the result as hex, Base64 and a PHC-style string. Paste an expected hash or a full PHC string to verify a password. Example: the password 'password' with salt 'NaCl', N 1024, r 8, p 16 gives fdbabe1c9d34... for 64 bytes, the RFC 7914 test value. Everything is computed in your browser.
How to use Password Key Derivation Generator and Verifier
- Choose scrypt or PBKDF2, then type the password and a salt, or press the button for a random 16-byte salt.
- Set the cost: N, r and p for scrypt, or the hash and the number of iterations for PBKDF2, and the output length in bytes.
- Copy the hex, Base64 or PHC string, or paste a stored hash into the last field to see whether the password matches.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
Also known as
Frequently asked questions
What is the difference between scrypt and PBKDF2?
PBKDF2 repeats an HMAC many times and needs very little memory. scrypt also needs a large block of memory (128 x r x N bytes), which makes guessing with GPUs and custom chips more expensive.
Can I paste a real password into this tool?
Nothing is sent anywhere, but it is a learning and testing tool. Use test passwords, and do not paste live credentials into any web page you do not fully control.
Why does the same password give a different hash for each user?
Each user gets a random salt that is stored with the hash. Two equal passwords then produce different hashes, which stops attackers from reusing precomputed tables.
Is Password Key Derivation Generator and Verifier free?
Yes. Password Key Derivation Generator and Verifier on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.