Bcrypt Generator
Generate secure bcrypt password hashes with configurable cost factor for authentication systems.
Generate Hash
10
Higher = more secure but slower. 10-12 recommended.
Verify Password
About Bcrypt:
- • Bcrypt is a password hashing algorithm designed to be slow
- • The cost factor determines the number of iterations (2^cost)
- • Each hash includes a random salt, so the same password produces different hashes
- • Note: This is a demo implementation. Use bcryptjs in production.
Bcrypt Hashing - Technical Details
Bcrypt is designed to be slow, making brute-force attacks impractical. The cost factor (10-12 recommended) determines how many iterations are performed. Each hash includes a random salt.
Command-line Alternative
// Bcrypt hash format\n$2b$10$salt22chars.hash31characters\n\n$2b = algorithm\n$10 = cost (2^10 iterations)\nsalt = 22 char random salt