password_rules 1.0.0
password_rules: ^1.0.0 copied to clipboard
Password policy as a plain Dart value: length and character-class counts, custom rules, a NIST preset, a common-password blocklist and a generator.
1.0.0 #
- First release, split out of
flutter_pw_validatorso a Dart backend can enforce the same policy as the app. PasswordRuleswithminLength,maxLength,letters,uppercase,lowercase,digits,specialandcustom; Unicode-aware counting.PasswordRulesubclasses with value equality,CustomRule,CommonPasswordsRuleover the SecLists top-1000 list, andMatchRule.PasswordRules.nist()for NIST SP 800-63B-4.validate()returningresults,isValid,failed,scoreandstrength;formValidator();generate().PasswordRuleStringsin English and Persian.