Argon2 Hash Generator

Hash a password with Argon2id, Argon2i or Argon2d with your own memory, iterations and parallelism, or verify a password against an encoded hash.

Processed on your device. Files are not uploaded

How to make and check an Argon2 hash

  1. Choose hash or check

    Hash a new password or check one against an encoded hash.

  2. Set the cost

    Memory, iterations and parallelism decide how hard the hash is to attack.

  3. Copy the encoded hash

    It starts with $argon2id$ and holds the settings and salt.

When to use Argon2 Hash Generator

You are choosing password hash settings for a new app and want to see how long each combination takes.

A user cannot log in and you need to confirm whether an Argon2 hash from your database matches a password.

Tips for a better Argon2 Hash Generator result

Keep Argon2id unless you have a specific reason, and spend your budget on memory first, since memory is what slows down GPU attacks.

Measure on hardware like your production server: a phone or laptop can be several times slower or faster.

Argon2 Hash Generator: limits and what to check

High memory settings multiply with traffic, so 64 MiB per login with 50 logins at once needs over 3 GB of server memory.

Some libraries write raw hashes rather than the encoded $argon2id$ form, and those cannot be checked here without converting them.

About Argon2 Hash Generator

Argon2 won the Password Hashing Competition and is the current recommendation for storing passwords. Argon2id resists both GPU cracking and side-channel attacks. The encoded output records the variant, version, memory, iterations, parallelism and salt, so libraries in any language can check it.

FAQs

Which settings should I start with?

OWASP suggests Argon2id with 19 MiB of memory, 2 iterations and parallelism 1 as a minimum. More memory is better if your server can spare it.

Can I check a hash made by another library?

Yes, if it is in the standard $argon2id$v=19$m=...,t=...,p=...$salt$hash form used by libsodium, argon2-cffi, PHP and others.

Why is it slow on my phone?

That is the point: the memory and time it costs you are what it costs an attacker for every guess.

Related tools