Bcrypt Generator & Verifier
Securely hash passwords using the Bcrypt algorithm or verify if a plain text string matches a given hash. All processing happens locally in your browser.
Generate Hash
Verify Match
Understanding Bcrypt
Bcrypt is specifically designed for hashing passwords. Unlike general-purpose hash functions like MD5 or SHA-256 which are designed to be extremely fast, Bcrypt is intentionally slow. This slowness is a feature: it makes "brute-force" or "dictionary" attacks significantly more expensive for attackers.
How to use this tool
Generating a Hash
- Enter the password or text you want to hash in the Text to hash field.
- Adjust the Salt Rounds if necessary (10-12 is usually sufficient).
- Click Generate Hash. The result will appear in the output field.
Verifying a Match
- Enter the plain text password in the Plain text field.
- Enter the existing Bcrypt hash in the Bcrypt hash field.
- Click Verify Match to see if the text corresponds to that hash.
Frequently asked questions
What is Bcrypt?
Bcrypt is a password-hashing function based on the Blowfish cipher. It incorporates a salt to protect against rainbow table attacks and is adaptive, meaning you can increase the iteration count (salt rounds) to make it slower and more resistant to brute-force attacks as hardware improves.
Is this secure?
Yes. This tool runs entirely in your browser. Your input text and generated hashes never leave your computer. We use the bcryptjs library for all cryptographic operations.
What are 'Salt Rounds'?
The cost factor or salt rounds determine how much time is needed to calculate a single Bcrypt hash. The higher the cost, the more hashing rounds are performed, making it harder for an attacker to crack passwords. 10 is a common default, while 12 or higher is recommended for modern security.
Can I decrypt a Bcrypt hash?
No. Bcrypt is a one-way hashing function, not encryption. You cannot 'reverse' it to get the original text. You can only verify if a piece of text matches a hash by hashing that text again and comparing the results.