Bcrypt Generator

Generate and verify bcrypt password hashes

How to Use

  1. Enter your password on the Generate Hash tab.
  2. Select a cost factor (12 or higher is recommended for 2025).
  3. Click Generate Hash, then copy the resulting bcrypt hash.
  4. Use the Verify tab to confirm a password matches an existing $2a$ hash.

FAQ

Bcrypt is a password hashing function designed for stored password security. It incorporates a salt and a configurable cost factor to slow down brute-force attacks.

OWASP recommends a cost factor of 12 or higher as of 2025. Each increment roughly doubles the compute time. Balance security with the user experience for your login flow.

Yes. Bcrypt remains a recommended choice. For newer applications where Argon2id is available, prefer Argon2id. Otherwise, bcrypt with cost 12 or higher is still considered secure.