🔑 Password Strength Checker
Check a password against length, character variety, common patterns and repetition to estimate its strength and fix weak points.
📐 工作原理与说明
密码强度采用统一熵模型:按实际使用的字符池(小写 26、大写 26、数字 10、符号 32)计算单字符熵,再乘以密码长度得到信息熵;当去重字符占比低于 50% 时按该比例扣减,避免重复串被高估;命中常见弱口令整词时把熵压到 10 bits,仅命中字典子串时扣减 15 bits。安全等级、进度条颜色、改进建议与「破解时间量级」全部由同一熵值推导(按每秒 10^10 次猜测只折算数量级);评分是启发式参考,不能据此保证账户安全。
密码强度
—
📚 深度解析:强密码检测器(检查强度)
💡 常见使用场景
- 评估口令熵与弱点。
- 注册或改密前自检口令,避免「四类字符但含常见词」的伪强密码。
检测
`Password1!` 含常见词「password」,命中字典扣分(整词 −10 bits、子串 −15 bits)后等级下调;`Tq7!mK9@pL2#` 字符池大且无常见词 → 强(高熵)。
❓ 常见问题(FAQ)
- 强度看什么?
- 长度、字符集、是否词典词。
- 强度评分是绝对的吗?
- 不是。页面按长度与字符多样性估算,不含泄露库比对;判为「强」仍建议避免常见词与个人信息。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Character-pool entropy | entropy ≈ length × log2(pool); pool adds 26 lowercase, 26 uppercase, 10 digits and 32 symbols | Information-entropy model |
| Repetition and common passwords | unique-character ratio below 50% scales entropy down; common passwords cap at 10 and containing a common word subtracts 15 | Built-in weak-password list |
| Cracking-time estimate | estimated under a fast offline-guessing assumption; leaked lists, keyboard patterns and targeted social engineering are not modelled, so the score is relative, not a guarantee | Heuristic estimate, not a certification standard |
⚠️ 使用说明与注意事项
- 所有密码检测均在浏览器本地完成,不会上传到任何服务器
- 密码强度评分基于字符种类、长度和熵值综合计算
- 建议密码长度不少于 12 位,包含大小写字母、数字和特殊符号
- 避免使用常见密码(如 123456、password、qwerty 等)
- 不同网站请使用不同密码,定期更换重要账户密码