Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only number passwords accepted as best passwords #14

Open
bahramhasanov opened this issue Aug 6, 2021 · 1 comment
Open

Only number passwords accepted as best passwords #14

bahramhasanov opened this issue Aug 6, 2021 · 1 comment

Comments

@bahramhasanov
Copy link

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;
}
@fehernyul
Copy link

Or let us allow custom "estimateBruteforceStrength" function usage;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants