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 ↗