๐Bcrypt Hash Generator
Loading...
bcrypt is a password hashing function specifically designed for storing passwords. It is intentionally slow, making brute-force attacks impractical. The cost factor controls computational expense, and a salt is automatically included so the same password always produces a different hash.
How to Use
- 1Generate a hash
Go to the 'Generate Hash' tab and enter your plaintext (password). A bcrypt hash is generated automatically once you set a cost factor.
- 2Set the cost factor
Use the slider to choose a cost factor from 4 to 14. Higher values make hashing slower and more secure. A value of 10โ12 is typical for production use.
- 3Verify a hash
Switch to the 'Verify Hash' tab, enter the original text and a bcrypt hash, and the result is shown instantly.
Tips
- ๐กbcrypt is a one-way function โ the original password cannot be recovered from a hash. It is ideal for password storage.
- ๐กEach increment of the cost factor doubles the number of iterations: 10 = 1024, 11 = 2048, 12 = 4096.
- ๐กThe same password always produces a different hash because a random salt is embedded automatically.
- ๐กAll hashing is done entirely in your browser โ no data is ever sent to a server.