Skip to content
uxTools
Security & Crypto

Bcrypt Hash Generator & Verifier

Generate bcrypt password hashes at the cost you choose, or verify a hash against a password. Everything runs locally in your browser.

Algorithm

bcrypt

Adaptive, salted, designed for password storage.

Cost

12

≈ 400 ms per hash on a modern laptop.

Mode

Generate

Switch tabs to hash a password or check a stored hash.

Workspace

Type a password, pick a cost factor, and generate a salted bcrypt hash. The salt is random unless you opt into a custom one.

Very weak0 bits · ≈ instantly to brute-force
12

Range 4-15. OWASP minimum is 10. Cost doubles per increment — currently ≈ 400 ms.

Salt

A fresh 16-byte salt is generated for every hash. Recommended.

Cost vs. time

Rough wall-clock estimates per hash. Real numbers depend on the device.

CostWork (2ⁿ iterations)≈ time
416 iterations2 ms
8256 iterations25 ms
101,024 iterations100 ms
12current4,096 iterations400 ms
1416,384 iterations1.6 s
1665,536 iterations3.2 s

Anchored at cost 10 ≈ 100ms on a modern laptop. Work doubles per +1 cost. Mobile and serverless cold-starts can be 3-5× slower.