Toolbox / Bcrypt hash and verify Runs in your browser中文
Security & cryptography

Bcrypt hash and verify

Hash and verify bcrypt locally, rejecting silent truncation beyond 72 bytes.

Ctrl / ⌘ + Enter Run

Ready when you are

Less switching. More focus.Functional build · Validation in progress

Using this tool

Demonstrate salted hashing and matching with a synthetic password.

Actions: Generate hash · Verify password

Example

Cost 4 is only for a fast demo. Paste the generated hash into the verification field and verify the same demo password to get Match.

Example action and settings

Action: Generate hash
Password / text: public-demo-only
Cost (4–14): 4

Input / action

Result / expected behavior

$2b$04$… (60 characters; fresh salt changes the hash).

Available options: Password / text · Cost (4–14) · Bcrypt hash to verify

Scope and limitations

  • At most 72 UTF-8 bytes; supported costs are 4–14.
  • Higher costs take longer; the demo cost is not production configuration advice.

Common mistakes

  • Do not confuse characters with bytes or enter real passwords; different salted hashes can match the same password.

Related tools

Hash text Password strength analyser

Privacy and browser support

Input is processed in this browser. Do not use real keys or active sensitive credentials as demonstration data. Device features require browser support and your permission.