v0.2.0
password_strength
一个密码强度估算器。可用于向用户显示他们选择的密码是否能抵御暴力破解或字典攻击。
157喜欢 19.4万近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个用于评估给定密码强度的 Dart 包。
以下为英文项目原文快照,最新内容请访问 GitHub。
A basic password strength estimator for Dart. Considers the length of the password, used characters, and whether or not the password appears in the top 10,000 most used passwords.
import 'package:password_strength/password_strength.dart';
...
double strength = estimatePasswordStrength('passw0rd');
if (strength < 0.3)
print('This password is weak!');
依赖清单 1 项
^1.16.8先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗