password_compromised 1.0.0 password_compromised: ^1.0.0 copied to clipboard
A dart package to determine if a password is compromised by checking with the Have I Been Pwned API.
example/password_compromised_example.dart
import 'package:password_compromised/password_compromised.dart';
main() async {
final isCompromised = await isPasswordCompromised('test');
print('Password "test" is compromised? ${isCompromised}');
}