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

discontinued
outdated

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

example/example.dart

import 'package:xcvbnm/xcvbnm.dart';

final xcvbnm = new Xcvbnm();

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

  if (result.score < 3) {
    print('Password not strong enough. It can be cracked in '
        '${result.crackTimeDisplay}. ${result.feedback}');
  }
}
2
likes
0
pub points
13%
popularity

Publisher

unverified uploader

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

Repository (GitLab)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on xcvbnm