password_compromised 1.0.0 copy "password_compromised: ^1.0.0" to clipboard
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.

password-compromised #

License Build

Introduction #

password-compromised is a dart package inspired by password-leak that can be used to determine if a password is compromised by checking with the Have I Been Pwned API.

How is this safe? #

Your passwords are NEVER transmitted to any other system. This library makes use of the Have I Been Pwned API, which implements a k-Anonymity Model so your password can be checked without ever having to give it to any other party.

Usage #

import 'package:password_compromised/password_compromised.dart';

main() async {
  final isCompromised = await isPasswordCompromised('test');
  print('Password "test" is compromised? ${isCompromised}');
}
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A dart package to determine if a password is compromised by checking with the Have I Been Pwned API.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

crypto, http

More

Packages that depend on password_compromised