v0.2.0
password_strength
A password strength estimator. Can be used to show the user whether the password they chose is strong against bruteforce or dictionary attacks.
156Likes 200.1K30-day downloads160Pub points
AndroidiOSWebmacOSWindowsLinux
Dart package that rates the strength of a given password.
^1.16.8English project snapshot. Visit GitHub for the latest content.
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!');