bcrypt

Hash a password with bcrypt and check a hash.

Added 2026-10-31

What it does

bcrypt hashes a password and checks a password against a bcrypt hash. The salt is inside the modular-crypt string, so there is no separate salt to paste. The cost is an integer from 4 to 12. The default is 10. A higher cost is rejected so this tab does not lock up. The work runs in a worker. A password longer than 72 bytes is rejected instead of being silently cut off. The result is a password hash. It is not encryption, and it is not a key for AES. Checking a hash reports a match or a mismatch. It does not sign in anywhere. The password and the hash stay in this tab.

How to use it

  1. Enter a password. Leave the cost at 10 unless you need a faster check.
  2. Hash writes a bcrypt string. The salt is already inside it.
  3. Verify pastes that string and reports whether the password matches.

Common mistakes

  • This is not encryption. The result is a password hash. It cannot be decrypted, and it is not used as an AES key.
  • Cost stops at 12. A cost above 12 is rejected. bcrypt only reads 72 bytes, so a longer password is rejected too.

The password stays in this tab. It is not uploaded.

Related guides

  • A hash is not encryption

    MD5 and SHA recompute the same digest from the same text. MD5 has collisions, and Keccak here is not NIST SHA-3.

Related tools