BCrypt Password Hashing Utility

Generate secure, salted BCrypt hashes with customizable work factors (rounds) for database authentication storage.

How It Works

  1. Enter a plaintext password and select a cost work factor (between 4 and 14).
  2. The tool generates a unique cryptographically random 128-bit salt and computes the Blowfish key expansion.
  3. A standard modular crypt format string (e.g. $2a$10$...) is generated containing algorithm identifier, cost factor, salt, and hash.

Primary Use Cases

Common Security Pitfalls

Frequently Asked Questions

What does the bcrypt cost factor mean?
The cost factor determines the number of hashing rounds (2^cost). Increasing the cost by 1 doubles the calculation time, allowing defenses to scale as hardware gets faster.
Why is a salt necessary in password hashing?
A salt ensures that two identical passwords produce completely different hash outputs, defeating precomputed rainbow table attacks.

References & Standards