flutter-password-strength icon indicating copy to clipboard operation
flutter-password-strength copied to clipboard

Only number passwords accepted as best passwords

Open bahramhasanov opened this issue 3 years ago • 1 comments

When user types passwords containing only numbers charsetBonus becomes 1.8, which is higher.

Need to add another control for numbers

if (RegExp(r'^[0-9]*$').hasMatch(password)) {
    charsetBonus = 0.5;
}

bahramhasanov avatar Aug 06 '21 06:08 bahramhasanov

Or let us allow custom "estimateBruteforceStrength" function usage;

fehernyul avatar Sep 28 '21 12:09 fehernyul