Bcrypt Generator

Create bcrypt hashes, adjust the cost factor, and verify passwords against existing hashes.

Create a password hash

Choose a password and hashing cost. Bcrypt produces a one-way hash for storage.

Higher values take longer to hash and verify.

12
rounds
4 - Faster20 - Slower

Passwords are processed in your browser and are not sent to a server.

Verify a password

Compare a password with a bcrypt hash. The hash cannot be decrypted.

What is bcrypt?

Bcrypt is a password-hashing function designed to make password guessing computationally expensive. It combines a password with a salt and applies a configurable cost factor before producing a hash.

The cost factor controls how much work bcrypt performs when it creates or verifies a hash. Bcrypt is one-way, so a hash cannot be decrypted. Verification tests a supplied password against the hash instead.

When to use it

Use this tool to create a bcrypt hash for testing or to check whether a password matches an existing hash. In an application, store the hash and verify future passwords against it rather than storing the original password.