UtilDojo

Popular

Menu

Argon2 Hash Generator — Create Argon2id Hashes Online

  • This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.
2
1

Passed to Argon2 as its built-in secret.

Everything runs in this tab. The password and the hash are never sent anywhere.

See also

About this tool

Argon2id is the winner of the Password Hashing Competition and the usual first choice for new systems. Where bcrypt makes guessing slow, Argon2 makes it slow and memory-hungry, so a graphics card with thousands of cores cannot run thousands of guesses at once.

Pick the memory (8 to 256 MiB), the number of passes over it and the number of lanes, then press Generate hash. A result looks like $argon2id$v=19$m=19456,t=2,p=1$…: m is memory in KiB, t the passes and p the lanes, followed by the salt and the hash. The defaults, 19 MiB, 2 passes and 1 lane, are the minimum OWASP lists, and the tool shows the time it took on your device.

To raise the cost, add memory first, then passes, and keep the total near 100 ms to 1 second on your server. A pepper is passed to Argon2 as its built-in secret, so a stolen database alone cannot be tested. To test a stored hash, use the Bcrypt Password Checker, which also reads Argon2 hashes.

Memory settings above about 64 MiB can make this tab pause for a moment, because the hash runs in your browser. Server timings will differ. Nothing you type leaves your browser.

Frequently asked questions

What Argon2 settings should I use?

OWASP’s minimum is 19 MiB of memory, 2 passes and 1 lane. A variant with 46 MiB, 1 pass and 1 lane gives similar protection. Choose the strongest settings that keep one hash under about a second on your server.

What is the difference between Argon2i, Argon2d and Argon2id?

Argon2d resists graphics-card cracking best but leaks timing information, Argon2i resists side-channel attacks, and Argon2id combines both. Argon2id is the recommended variant for passwords.

Why does Argon2 use so much memory?

Memory is the one resource attackers cannot cheaply multiply. A graphics card may have thousands of cores but little memory each, so requiring tens of megabytes per guess removes most of its advantage.

What is a lane?

The parallelism setting. It splits the work into lanes that can run on separate cores, which raises the total work without raising the time on a multi-core server.

Read the guide

Related tools