🔑 Password Strength Detect
Estimate a password's strength and rough crack time in your browser using entropy and pattern heuristics — your password never leaves the page.
Entropy model
Charset cs = +26 lowercase, +26 uppercase, +10 digits, +33 symbols
Entropy (bits) = floor(length × log₂(cs))
The 6-item checklist score also deducts 3 for a common weak-password fragment, 1 for repeated characters and 1 for a keyboard sequence, keeping at least level 1; entropy band (separate): <40 weak, 40–60 medium, 60–120 strong, ≥120 very strong
Crack time = 2^entropy ÷ guess rate; online guessing is shown as 1–100 guesses/s and offline GPU as 1e9–1e11 guesses/s, as ranges. The entropy model assumes independent, uniformly random characters and measures brute-force space only, not dictionary, pattern or breach risk; the page does not claim a password is uncrackable.
- 维度:长度、字符种类(大小写、数字、符号)、是否为常见口令或字典词、是否含个人信息。
- 熵估算:熵 ≈ 长度 × log₂(字符池大小),位数越高暴力破解成本越大。
- 现代建议:优先保证长度(≥12 位)与唯一性,复杂度要求次之;应检查是否出现在已泄露口令库中。
- 禁止:使用弱口令、个人信息、跨站重复使用的口令。
请输入密码
📚 深度解析:密码强度检测
💡 常见使用场景
- 评估口令熵与常见弱点。
- 自查口令风险:启用新口令前先测一遍,看是否属于常见组合或已泄露的口令,而不是只看长度。
❓ 常见问题(FAQ)
- 强度只看长度吗?
- 长度与字符集共同决定熵,词典词会大幅削弱。
- 提示「很强」就一定安全吗?
- 不一定。强度评估基于熵与常见模式,无法覆盖所有风险:这个口令是否已在别处泄露过、是否与其他账号复用、是否被钓鱼获取,工具都无从得知。因此除了分数,更关键的是一账号一口令、用密码管理器保存,并对重要账号开启双因素认证。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Entropy estimate | H = L * log2(N) for length L and alphabet size N | NIST SP 800-63B |
| Length first | minimum 8, prefer 12+; avoid forced composition rules | NIST SP 800-63B |
| Breach screening | check against known breached password lists | NIST SP 800-63B |
- 本工具纯前端运行,数据不会上传到服务器
- 建议在主流浏览器(Chrome/Safari/Firefox/Edge)中使用
- 计算结果仅供参考,请以实际应用场景为准