Tested tool guide
Tested browser tools
Checked August 16, 2026
What scrypt Key Derivation Tool does, with a checked example
scrypt turns a password and a salt into a fixed-length key, and the parameters N, r, and p set the price of that derivation: they fix how much memory the computation must touch, not just how long it runs. This tool computes the key in your browser, prints it as hex, draws the working-memory figure (128 x N x r bytes) so you can see the cost, and runs the same inputs through PBKDF2 for comparison. The surprise: the parameters are part of the key. Change N, r, p, or dkLen after the fact and the old key can never be regenerated.
Worked example
A concrete input and expected output from the current implementation.
Input
password: pleaseletmein, salt: SodiumChloride, N: 16384, r: 8, p: 1, key length: 64 bytes
->
Expected output
7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887 (128 hex characters; the tool also reports 16 MiB working memory for these parameters)
This input is one of the published test vectors in RFC 7914, so any conforming scrypt implementation must return exactly these 64 bytes; matching this value confirms the tool agrees with your own library. The working memory is 128 x 16384 x 8 = 16,777,216 bytes, which is 16 MiB.