HomeDeveloper toolsBcrypt Generator & Verifier

Bcrypt Generator & Verifier

Hash a password with bcrypt or compare a password with a bcrypt hash.

Processing stays in your browser. Passwords over 72 UTF-8 bytes are rejected to prevent silent truncation. Higher cost factors take longer; this browser tool caps the cost at 12.

How to use the bcrypt generator & verifier

Hash a password with bcrypt or compare a password with a bcrypt hash. Complete the password, operation, cost factor (4–12), bcrypt hash to verify fields above. Choose Run tool, review the output, then copy or download the result.

Example

Generate a hash for a test password, then paste it into Verify hash to check a match.

Good to know

Passwords over 72 UTF-8 bytes are rejected to prevent silent truncation. Higher cost factors take longer; this browser tool caps the cost at 12.

Separate representation, integrity and trust

Use public test values for the first run and identify exactly what property you want to inspect. Encoding makes data representable in another format; hashing produces a digest; signing and encryption have different purposes. A readable token, matching digest or parsed key does not by itself establish who created the data or whether it should be trusted. The scope stated on this page is the boundary of the result.

Inputs and settings explained

Password
Use a public test value to establish the expected behavior first. For a real operation, follow your own credential-handling rules. Keep this value out of screenshots, exported examples and support messages; a demonstration value is not a suitable production secret.
Operation
Choose the operation setting that matches your task. Available choices: Generate hash; Verify hash. The supplied example selects Generate hash. Compare the result after changing this setting; the options describe different operations or conventions.
Cost factor (4–12)
Enter a numeric value for cost factor (4–12), using the units and bounds indicated by the label and method notes. The demonstration uses 10. Check signs and scale before calculating; a percentage, fraction and whole-number count have different meanings.
See the demonstration value
10
Bcrypt hash to verify
Enter the bcrypt hash to verify exactly as required by the example. Check spelling, whitespace and any stated naming rules before running the operation. Use a small test value first; an accepted text field does not by itself establish that the value is appropriate for the system that will consume the result.

How to review the result

Compare the exact bytes and encoding used by the other system. Spaces, line endings, Unicode encoding and Base64 variants can all affect the result. For cryptographic material, confirm algorithms and parameters against the protocol you are implementing. Do not put real credentials in a bug report or screenshot. Review any external-service disclosure before starting a lookup; a service-assisted check has different data handling from a local transformation.

  • Confirm the expected encoding, algorithm and byte sequence with a public known example.
  • Get comparison values and trust anchors from an independent source you trust.
  • Keep generated secrets out of shared downloads, source control and support messages.

Common questions about this workflow

Does decoding or inspecting a token verify it?

No. Reading fields and checking syntax are separate from verifying a signature, issuer, audience, expiry and the surrounding application's policy. Use the verification procedure required by the actual protocol.

Does no reported issue prove that a value is safe?

No. The result covers the checks described on this page and the supplied input only. A local utility cannot establish every security property, and a lookup may have incomplete coverage. Apply your application's complete validation and key-management requirements.

Built by DevBricks Technologies. Found an unexpected result in Bcrypt Generator & Verifier? Report a reproducible example with the tool URL, settings and a small sample that contains no private information.