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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pywnedpasswords-0.3.tar.gz.

File metadata

  • Download URL: pywnedpasswords-0.3.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywnedpasswords-0.3.tar.gz
Algorithm Hash digest
SHA256 601d6ee2f936eb4613f47475422194143907c3edbbd96d62524d6a6fbc0a08a0
MD5 edfb8195b24c2f774290fd42e11b9c1c
BLAKE2b-256 0b14a410ed0e107d402528b5a4732632422a272d44d0035196ac5a833f143e5d

See more details on using hashes here.

File details

Details for the file pywnedpasswords-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pywnedpasswords-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a63f38279b24939ff7f6f7bc880623d016953a92ccfb715203ea2568d86a89b
MD5 abc45ad9e8a2e50f6d179ced84cc058c
BLAKE2b-256 b0f7c29f375703337291e6bd3bae0780c6295ecbb51808d8419e616e7802e4d7

See more details on using hashes here.

Supported by

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