devpocket.dev

Bcrypt Hash & Compare

Hash passwords with a configurable bcrypt cost or compare them with a hash.

Runs locally
Loading tool…

How to use

In Hash mode, enter a password, choose cost 4–15, and generate a salted bcrypt hash. Higher cost roughly doubles work at each step. In Compare mode, enter a password and an existing bcrypt hash to check for a match. Computation runs in a Web Worker so the interface remains responsive; passwords are never persisted.

FAQ

Which bcrypt cost should I choose?

Choose the highest cost your login path can tolerate, then measure on production-class hardware. Cost 12 is a common starting point, not a universal answer.

Can bcrypt hashes be decrypted?

No. Verification hashes the candidate password with the salt and parameters embedded in the stored hash, then compares the result.

Related tools