P
Password Strength Checker Entropy and Breach Detection
Published byForcom APIs
10/21/2026
"Must contain a symbol" is not security. This API scores passwords the way attackers actually crack them, using entropy analysis (zxcvbn):
- **Score 0–4** with a human label (Very Weak → Very Strong)
- **Crack-time estimates** across four attack scenarios (online throttled/unthrottled, offline slow/fast hash)
- **Breach check** — has this exact password appeared in known data breaches, and how many times (k-anonymity range query)
- **Custom policy validation** — length/uppercase/lowercase/number/symbol rules in the same call
- **Context awareness** — pass `userInputs` (username, company name…) so passwords derived from them score lower
**Use cases:** sign-up and password-change forms, security audits, forcing rotation of breached credentials.
Last updated 2026-10-21