Bcrypt Hash Generator & Verifier
Hash a password with bcrypt at a chosen cost factor, or verify a password against an existing bcrypt hash. Runs locally via bcryptjs.
Higher = slower to compute = more resistant to brute-force. Each +1 roughly doubles hashing time.
About This Tool
Hashes a password with bcrypt at a configurable cost factor, or verifies a plaintext password against an existing bcrypt hash: both via bcryptjs running entirely in your browser. Bcrypt is a purpose-built password hash: it is deliberately slow and includes a per-hash random salt, making it suitable for storing credentials safely.
Bcrypt is specialized for passwords and truncates inputs beyond 72 bytes. For general checksums and file integrity, use Hash Generator (MD5/SHA family).
Key Features
- Hash mode: Generates a salted bcrypt hash from a password at your chosen cost factor.
- Verify mode: Checks a password against an existing bcrypt hash and reports match or mismatch.
- Adjustable cost factor: Slider from 4 to 15 rounds (default 10); each increment roughly doubles compute time.
- Hash shape validation: Verify mode checks that the hash matches valid bcrypt structure before comparing.
- Per-hash random salt: Handled automatically by bcryptjs; hashing the same password twice produces unique valid hashes.
- Fully client-side: No password or hash is ever sent over the network.