Toolvist

Bcrypt Hash Checker

Verify whether a plain-text value matches a given bcrypt hash with constant-time comparison.

Starts with $2a$, $2b$, or $2y$ followed by the cost and salt.

Result

—

Version

—

Cost

—

Hash length

—

Bcrypt Hash Checker

Verify whether a password matches a bcrypt hash, and inspect the hash structure at the same time. Bcrypt hashes embed their version, cost factor, and salt, so this tool decodes those fields and reports them alongside the verification result.

Checking is the reverse of hashing — the bcrypt Generator produces the digest this tool verifies. If the hash is not bcrypt at all, the Hash Identifier will say so.

How to use the Bcrypt Checker

  1. 1 Paste the bcrypt hash you want to test against.
  2. 2 Enter the plain-text value to check.
  3. 3 Run the check and read whether it matches.
  4. 4 Clear both fields when you are finished.

Bcrypt hash comparison and salt parameter verification

The Bcrypt Checker verifies whether a candidate plain-text password matches an existing bcrypt hash digest. It parses the embedded algorithm identifier (`$2a$`, `$2b$`, or `$2y$`), the two-digit cost factor, and the 22-character salt, then executes the Eksblowfish key schedule to evaluate the match.

Crucially, the check operates using constant-time string comparisons to eliminate timing attack vulnerabilities. Because bcrypt includes a unique random salt within every hash, comparing passwords requires running the candidate plaintext through the identical salt and work iterations rather than performing simple string equality.

  • Verifies candidate passwords against bcrypt digests using constant-time evaluation.
  • Extracts and displays embedded cost factors, salt bytes, and algorithm prefixes.
  • Eliminates timing attack vectors when verifying authentication credentials.
  • Essential for debugging user login issues, authentication services, and password resets.

Frequently asked questions

Can this recover the original password?

No. Bcrypt is a one-way function, so there is nothing to decrypt. What happens instead is that the candidate is hashed with the salt and cost embedded in your stored hash, and the two results are compared.

How does it know which salt to use?

The salt is stored inside the hash itself, in the $2y$10$… prefix along with the cost factor. That is why a bcrypt hash is self-contained: you need nothing else stored alongside it to verify a password later.

Why does verification take a noticeable moment?

Because that slowness is the security feature. The cost factor forces each attempt to do a fixed amount of work, which is imperceptible for one login but makes millions of guesses impractical. If verification feels instant, the cost factor is probably too low.

Related Security & Cryptography Tools

Browse all Security & Cryptography Tools →

You might also need

Tools from other categories that people pair with the Bcrypt Checker:

Browse the full tool directory →