bcrypt Password Hash Generator

Hash a password using bcrypt, a widely-supported adaptive hashing algorithm based on the Blowfish cipher. bcrypt has been the de facto standard for password hashing for over 20 years and is supported by virtually every programming language and framework. The cost factor determines how slow the hash is - higher cost = more secure but slower.

Privacy: this tool processes all data entirely in your browser. Passwords and hashes are never sent to the server.

The password is never sent anywhere.

Cost = log₂ of iterations. Default: 12 (4096 iterations). Higher = slower = more secure.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Hash with cost 12

  • password = MySecret123!
  • cost = 12

Result: A bcrypt hash string starting with $2b$12$.

Frequently asked questions

What is the cost factor?

The cost factor is a log₂ value that determines how many iterations bcrypt performs. Cost 12 = 2^12 = 4096 iterations. Each increment doubles the time. Cost 12 takes ~250ms on modern hardware - adjust based on your server's performance budget.

bcrypt vs Argon2id - which should I use?

Argon2id is technically superior (memory-hard, side-channel resistant). However, bcrypt is more widely supported and battle-tested. If your framework supports Argon2id, use it. Otherwise, bcrypt with cost 12+ is perfectly secure.

Is my password sent to a server?

No. Hashing happens entirely in your browser. The password never leaves your device.

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, bcrypt, bcrypt hash on the BestWordz Community forum.

Visit Forum →
Copied!