bcrypt is designed specifically for password storage. It combines a salt with a configurable Cost factor, making password hashing deliberately expensive. Increasing Cost by 1 roughly doubles the calculation time. The tool provides generation, verification, and parsing modes.
Choose a Cost from 4 to 15, with ranges grouped for testing, lower-cost use, recommended settings, and higher-cost settings. The default is 12. Password visibility can be toggled, and a browser-secure random test password can be generated. The result is a standard bcrypt hash string.
Enter a stored database hash and a password. The tool reads the bcrypt version and Cost from the hash, recalculates the password hash using those parameters, and compares the result without generating a new hash. Versions 2a, 2b, and 2y are supported. Version 2y is common in PHP environments, while 2b is widely used.
The parser extracts the version, Cost, 22-character salt, and 31-character hash body. Invalid formats are reported when the prefix is not 2a, 2b, or 2y, the body is shorter than 53 characters, or the Cost is outside the supported 4 to 31 range.
The benchmark repeatedly calculates using the current Cost and reports average, minimum, and maximum calculation times. Around 100 to 250 ms is provided as a general tuning reference. Benchmark results depend on the current device and browser, so the actual server environment should be tested separately.
bcrypt only uses the first 72 bytes of a password. Password hashes are one-way and cannot be decrypted. If a high Cost causes calculation failures or excessive delays, reduce the Cost. If the local engine fails, the tool reports the error without falling back to server-side calculation.
Useful for selecting a backend Cost parameter, debugging login verification failures, inspecting historical bcrypt parameters, testing accounts, and learning how password hashing works.
bcrypt calculations use WebAssembly locally in the browser. Passwords and hashes are never uploaded or saved, and there is no server-side fallback when the local engine is unavailable.
Comments 0