Skip to main content

password_rules 1.0.0 copy "password_rules: ^1.0.0" to clipboard
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_validator so a Dart backend can enforce the same policy as the app.
  • PasswordRules with minLength, maxLength, letters, uppercase, lowercase, digits, special and custom; Unicode-aware counting.
  • PasswordRule subclasses with value equality, CustomRule, CommonPasswordsRule over the SecLists top-1000 list, and MatchRule.
  • PasswordRules.nist() for NIST SP 800-63B-4.
  • validate() returning results, isValid, failed, score and strength; formValidator(); generate().
  • PasswordRuleStrings in English and Persian.
1
likes
160
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Password policy as a plain Dart value: length and character-class counts, custom rules, a NIST preset, a common-password blocklist and a generator.

Repository (GitHub)
View/report issues

Topics

#password #validation #security #nist

License

MIT (license)

Dependencies

characters

More

Packages that depend on password_rules