Bcrypt Hash Generator
Generate secure bcrypt password hashes with adjustable cost factor. Verify passwords against existing hashes instantly.
10
Higher cost factor = more secure but slower. Recommended: 10-12 for production.
Verify Password
About Bcrypt Hash Generator
What is Bcrypt?
Bcrypt is a password hashing function designed for security. It incorporates a salt to protect against rainbow table attacks and includes a cost factor to make it computationally expensive.
Cost Factor Explained
The cost factor determines how many rounds of hashing are performed. Higher values are more secure but take longer to compute:
- 4-8: Fast, suitable for development/testing
- 10-12: Recommended for production applications
- 13+: Very secure but may be too slow for some applications
Security Features
- Automatic Salting: Each hash includes a unique random salt
- Adaptive Hashing: Cost factor can be increased as hardware improves
- Built-in Verification: Easy to verify passwords against stored hashes
- Widely Supported: Available in most programming languages
Example Hash Format
$2b$10$N9qo8uLOickgx2ZMRZoMy.Mrqg3jmBPX6Ea/lGnXjlGhQb2.4VQHWG
Format breakdown:
$2b$ - Algorithm identifier (bcrypt)
10 - Cost factor (2^10 rounds)
$N9qo8uLOickgx2ZMRZoMy. - Salt (22 characters)
Mrqg3jmBPX6Ea/lGnXjlGhQb2.4VQHWG - Hash (31 characters)