Check if your password has been pwned using awesome ';--have i been pwned? API.

Piotr Czajkowski 8fb68e337d islower() wasn't needed vor 4 Jahren
win 957058e103 Updated binary vor 6 Jahren
.gitignore 28bb9ff292 Added .dSYM vor 6 Jahren
LICENSE.md 6dfd4df247 Initial commit vor 6 Jahren
README.md 4c1ed8f341 Formatting again vor 6 Jahren
curl.c 99359d59a5 Understand your data structures! vor 5 Jahren
curl.h 39b4e0f5b0 Don't need it there vor 6 Jahren
makefile 1239dda664 Added -Wshadow vor 4 Jahren
pwned.c 8fb68e337d islower() wasn't needed vor 4 Jahren
sha.c 1a7ba18e95 A bit safer vor 5 Jahren
sha.h 2fc0857811 Cosmetics vor 6 Jahren

README.md

Pwned Password

Fun project to utilize awesome ';--have i been pwned? Passwords API. It generates SHA1 hash for the password you provide as an argument and then grabs the range of hashes, basing on first 5 characters of the hash, from the service and checks if your hash is among them. So your password, nor its hash, never leaves your computer.

Usage is simple:

./pwned <password>

It'll print "This is how many times your password was pwned:" and a number if your password is in ';--have i been pwned? DB, else it'll print "Password not pwned!". Enjoy!

You can find Windows 64-bit binary and necessary libs in win subfolder.