password_dart 2.0.1 copy "password_dart: ^2.0.1" to clipboard
password_dart: ^2.0.1 copied to clipboard

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

example/main.dart

import 'package:password_dart/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));
}
9
likes
135
points
73
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

pointycastle

More

Packages that depend on password_dart