Skip to content

Safely queries the Have I Been Pwned API to check a password leak

License

Notifications You must be signed in to change notification settings

sdescarries/pwn-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pwn Check

Implemented in javascript, can be used to safely verify a password against the Have I Been Pwned API.

How it Works

This is basically the same implementation as Michael Pound did and showcased on YouTube but done in JS instead of Python so it can run directly in a web browser.

The code is kept minimal and simple to allow reviewing and auditing. The only web request that is made is for the password API using the 5 first characters of the hash generated from the given password.

Usage

  • Input a password
  • Click the check button
  • Amount of matches is displayed

If no match is found, good for you, your password is still safe. Otherwise it is strongly recommended to change it asap.

Links

About

Safely queries the Have I Been Pwned API to check a password leak

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages