Pwned Passwords

This is a little javascript we created to allow users to check if their password was on any of the lists available on the Dark Web, ie that have been gleaned from cracks of web servers.

It uses the API available at https://haveibeenpwned.com/. There is a sample web page (from the Daily Data client site).

Since it is javascript and https://haveibeenpwned.com/ was set up with security in mind, we were able to design it such that the password never leaves the users web browser. We simply send the first five characters of the sha1 digest of the password, and https://haveibeenpwned.com/ returns enough information to determine if the password is in the list.

This is open source under the BSD license which allows you to do whatever you want, so long as you give attribution to https://haveibeenpwned.com/

You can download the file at http://unixservertech.com/scripts/pwned.zip

You can see it in action by going to http://unixservertech.com/pwned/pwned.html