Bcrypt Hash Generator
Bcrypt is a password-hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher.It is widely used for secure password storage in many systems and frameworks like Laravel, PHP, Ruby on Rails, and Node.js.
Generate Bcrypt Hash
What is the Cost Factor?
The cost factor determines how computationally expensive the hash generation is. Each increment doubles the required computation time. This makes brute-force attacks more difficult.
Verify Bcrypt Hash
Bcrypt Hash Information
Bcrypt hashes include:
- Algorithm identifier:
$2a$
,$2b$
, or$2y$
- Cost factor: two digits representing rounds (e.g.,
10
) - Salt: 22 characters
- Hash: 31 characters
Security Information
Important notes about Bcrypt:
- Bcrypt automatically generates and incorporates a random salt for each password.
- The same password will generate different hashes each time due to the salt.
- Bcrypt is intentionally designed to be slow to resist brute force attacks.
- Cost factor (rounds) should be increased over time as computing power increases.
- This tool processes all data in your browser - no passwords are sent to our server.