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

A set of high-level APIs over PointyCastle to hash and verify passwords securely.

example/main.dart

import 'package:password/password.dart';

void main() {
  final password = 'secret';
  final algorithm = PBKDF2();
  final hash = Password.hash(password, algorithm);

  print(hash);
  print(Password.verify(password, hash));
  print(Password.verify('wrongpass', hash));
}
22
likes
35
pub points
71%
popularity

Publisher

unverified uploader

A set of high-level APIs over PointyCastle to hash and verify passwords securely.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

pointycastle

More

Packages that depend on password