password_strength library
Functions
-
estimatePasswordStrength(
String password) → double -
Estimates the strength of a password.
Returns a double between
0.0
and1.0
, inclusive. A value of0.0
means the givenpassword
is extremely weak, while a value of1.0
means it is especially strong.