Bcrypt Hash Generator
Generate bcrypt hashes from passwords and verify passwords against existing hashes. Adjustable cost factor.
Bcrypt Hash / Result:
What is Bcrypt?
Bcrypt is a password hashing algorithm designed to be slow and resistant to brute force. It includes a salt and a cost factor (work factor). The same password produces different hashes each time due to the random salt.
What is it used for?
- Password storage: Store hashed passwords in databases
- Authentication: Verify passwords with
compare - Backend development: Generate hashes for user registration
- Testing: Create test fixtures with known hashes
Cost factor (rounds)
Higher cost = slower but more secure. Default 10 is recommended. 12 is stronger; 14 for high-security. Use Verify to check a password against an existing hash.