Skip to main content

Client for HIBP passwords api using K-Anonymity method

Project description

# pywnedPasswords

This script uses the pwnedpasswords.com v2 api to check your password in a secure way (using the [K-anonymity](https://en.wikipedia.org/wiki/K-anonymity) method)

The full Hash is never transmitted over the wire, only the first 5 characters. The comparison happens offline.

Special thanks to Troy Hunt ([@troyhunt](https://twitter.com/troyhunt)) for making this script possible.

## install

` bash pip install pywnedpasswords `

## Usage

` bash pywnedpasswords.py `

Insert your password when asked.

the output will either be:

` Password to check: Found your password 47205 times. `

or in case your password is not secure

` Password to check: Your password did not appear in PwnedPasswords yet. `

© xmatthias 2018

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywnedpasswords-0.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

pywnedpasswords-0.3-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page