PwnedChecker allows you to check if your password has been compromised in any data breaches by leveraging the HaveIBeenPwned API. It creates a SHA-1 hash of the password, and sends a request using the first five characters of the hash to the API, and processes the response to determine if the password has been pwned.
SHA-1 is deprecated, but unfortunately that is what HaveIBeenPwned is using for password hashes, so this program utilizes SHA-1 instead of SHA-256.
Password Hashing: Utilizes 'hashlib' for SHA-1 hashing algorithm to securely hash the user's password.
API Integration: Makes use of the HaveIBeenPwned's API to verify if the password has been exposed in data breaches.
Response Processing: Parses the API response to find the complete hash and retrieve the count of breaches.
User-Friendly Interaction: Guides the user through the process with clear prompts and informative messages.
Clone the repository or download the Python script.
Run the script in a terminal and follow the prompts to input your password.
The program will hash your password, check for breaches, and display the results.
Without command-line argument '--show-hash':
With command-line argument '--show-hash':