password 1.0.0 password: ^1.0.0 copied to clipboard
A set of high-level APIs over PointyCastle to hash and verify passwords securely.
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));
}