Skip to content
Saafir HaleSecurity & InfrastructureAtlanta, GA
← Security & Infrastructure

Password Strength & Breach Checker.

A browser tool that shows how a password would be guessed and whether it is in breach data, without the password leaving the page.

Public
About

Strength comes from zxcvbn-ts with its English and common-password dictionaries. Each pattern it finds (common password, dictionary word, name, letter substitution, reversed word, keyboard walk, repeat, sequence, date, recent year) is explained in plain language, alongside crack times under four attack models: online throttled, online unthrottled, offline against a slow hash such as bcrypt, and offline against a fast hash.

The breach check uses Have I Been Pwned's Pwned Passwords range API with k-anonymity. The SHA-1 is computed locally with Web Crypto, only the first five hex characters are sent, and the other 35 are matched in the page. The request asks for padded responses so their size gives nothing away. The page shows exactly what was sent, and a switch turns the check off for strength-only use with no network requests.

The check runs on a button press, never per keystroke. Checking as you type would send a hash prefix for every short fragment of the password, and fragments that short can be brute-forced from their prefixes, leaking the password a character at a time. The README's threat model covers this along with what the prefix still reveals, padding, and the limits of what a web page can protect.

A passphrase generator draws from the EFF Large Wordlist with crypto.getRandomValues and rejection sampling, and shows the exact entropy: about 12.9 bits per word, 77.5 bits for six. The k-anonymity logic is tested against a recorded, padded range response, covering the prefix/suffix split, dropped padding entries and case handling.

Built with
TypeScriptReactzxcvbn-tsWeb CryptoHave I Been Pwned APIVitest
Links
NextLive Threat Map →