This is a Python script that checks the security of passwords using the "Have I Been Pwned" (HIBP) API.
The script allows you to check whether a password has been found in a data breach. It does this by sending a partial hash of the password to the HIBP API and checking if there is a match in the database. If a match is found, it means the password has been compromised and should be changed.
This project is licensed under the MIT License. See the LICENSE file for details.
The MIT License is a permissive open-source license that allows you to use, modify, and distribute this software for both commercial and non-commercial purposes. You can find more information about the MIT License in the LICENSE file.
- Password security checking using the HIBP API.
- Secure handling of password hashes.
- Minimal dependencies, mainly using Python's standard library.
To use this script, follow these steps:
-
Clone the repository to your local machine or download code files as zip then extract and open with a code editor.
-
Install Python if you haven't already.
-
Run the script by providing the passwords you want to check as command-line arguments. (run it on terminal/powershell/bash/cmd) as your wish! For example:
python check_me.py password1 password2y6546