xcvbnm 2.0.3 copy "xcvbnm: ^2.0.3" to clipboard
xcvbnm: ^2.0.3 copied to clipboard

discontinued

This is a dart port of zxcvbn (see https://github.com/dropbox/zxcvbn).

example/example.dart

import 'package:xcvbnm/xcvbnm.dart' as xcvbnm;

void main() {
  final password = 'my_pwd_1';
  final result = xcvbnm.estimate(password);

  if (result.score < 3) {
    print('Password not strong enough. It can be cracked in '
        '${result.crackTimeDisplay}. ${result.feedback}');
  }
}
2
likes
40
points
89
downloads

Publisher

unverified uploader

Weekly Downloads

This is a dart port of zxcvbn (see https://github.com/dropbox/zxcvbn).

Repository (GitLab)
View/report issues

License

MIT (license)

More

Packages that depend on xcvbnm