Skip to content

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

License

Notifications You must be signed in to change notification settings

betarabbit/password-compromised

Repository files navigation

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}');
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages