Bcrypt Hash Generator
Free online Bcrypt tool that generates salted password hashes with adjustable cost rounds and verifies a plaintext password against an existing hash.
Bcrypt Hash Structure
| Partial | Value | Description |
|---|---|---|
| Algorithm | $2b$ | Bcrypt version (2a, 2b, 2y) |
| Cost Factor | 10 | 2^10 = 1,024 iterations |
| Salt | N9qo8uLOickgx2ZMRZoMye | 22-char Base64-encoded salt |
| Hash | IjZAgcfl7p92ldGxad68LJZdL17lhWy | 31-char Base64-encoded hash |
Embed
What is Bcrypt Hash Generator?
Free online Bcrypt tool that generates salted password hashes with adjustable cost rounds and verifies a plaintext password against an existing hash.
How to Use
- 1Select Tab— Choose the hash generation or hash verification tab.
- 2Enter Password— Enter the password to hash. In the generation tab, set the Salt Rounds.
- 3Generate or Verify— Click generate to create a Bcrypt hash, or verify to check if a password matches a hash.
- 4Copy Result— Copy the generated hash to clipboard using the copy button.
Related Tools
Frequently Asked Questions
Bcrypt is a password hashing function based on the Blowfish cipher. It auto-generates salts and allows adjusting the cost factor to slow down hashing, making it resistant to brute-force attacks.
Generally 10-12 is recommended. Each round increase doubles the computation time. 10 takes about 64ms, 12 about 256ms. Decide based on server performance and security requirements.
Bcrypt generates a new random salt each time. The same password with different salts produces different hashes. This is the key mechanism that defends against rainbow table attacks.
Yes, Bcrypt internally truncates input to 72 bytes. For longer passwords, consider hashing with SHA-256 first and then applying Bcrypt.
Possible but not recommended. Password hashes should be generated server-side for safety. Use this tool for testing, learning, and debugging.