zxcvbn 0.0.1
zxcvbn: ^0.0.1 copied to clipboard

Dart port of DropBox's zxcvbn library.

example/zxcvbn_example.dart

import 'package:zxcvbn/zxcvbn.dart';

void main() {
  final zxcvbn = Zxcvbn();

  final result = zxcvbn.evaluate('P@ssw0rd');

  print('Password: ${result.password}');
  print('Score: ${result.score}');
  print(result.feedback.warning);
  for (final suggestion in result.feedback.suggestions) {
    print(suggestion);
  }
}
5
likes
80
pub points
80%
popularity

Publisher

careapp.com.au

Dart port of DropBox's zxcvbn library.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on zxcvbn