BCrypt Password hashing and Verification

Workload (Cost Factor)

Your Support Matters!

Instead of directly asking for donations, I'm thrilled to offer you all nine of my books for just $9 on leanpub By grabbing this bundle you not only help cover my coffee, beer, and Amazon bills but also play a crucial role in advancing and refining this project. Your contribution is indispensable, and I'm genuinely grateful for your involvement in this journey!

Any private key value that you enter or we generate is not stored on this site, this tool is provided via an HTTPS URL to ensure that private keys cannot be stolen, for extra security run this software on your network, no cloud dependency


Bcrypt is a password hashing function designed by Niels Provos and David Mazières, based on the Blowfish cipher. BCrypt was first published, in 1999, they listed their implementation's based default cost factor,This is the core password hashing mechanism in the OpenBSD operating system

The bcrypt workload is specified in the above static variable, a value from 10 to 31. A workload of 12 is a very reasonable safe default as of 2013.

A bcrypt cost of 6 means 64 rounds (2^6 = 64).

for example given bcrypt hash Value


specifies a cost parameter of 6, indicating 64 key expansion rounds

128 bit salt

is the resultinh hash

bcrypt Output size is fixed: 192 bits.

Good Password Hashing Functions
bcrypt (Digest Size 184 bit)
scrypt (Digest Size variable )
OpenPGP Iterated And Salted S2K