Details
Generate secure bcrypt password hashes for storing passwords safely in your database.
Bcrypt is a password hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher. It incorporates a salt to protect against rainbow table attacks and is intentionally slow to make brute-force attacks more difficult.
Features
- Configurable Salt Rounds: Adjust the computational cost (4-12 rounds recommended)
- Automatic Salt Generation: Each hash includes a unique salt
- Secure: Industry-standard password hashing algorithm
- Browser-based: All hashing happens locally in your browser, no data is sent outside!
How to Use
- Enter the password you want to hash
- Adjust the salt rounds (higher = more secure but slower)
- Click "Generate Hash" to create the bcrypt hash
- Copy the generated hash to store in your database
Salt Rounds
The salt rounds parameter determines how computationally expensive the hash function is. Each increment doubles the time required:
- 4-6 rounds: Fast, suitable for testing
- 8-10 rounds: Good balance for most applications
- 12+ rounds: Very secure but slower, suitable for high-security applications
Security Note
Never store passwords in plain text. Always use a secure hashing algorithm like bcrypt. The generated hash can be safely stored in your database and used to verify passwords during login.