Skip to content

PwnedChecker creates SHA-1 hashes based on user's password, and checks with hashes on HaveIBeenPwned to see if the password was compromised.

Notifications You must be signed in to change notification settings

SriharC/PwnedChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

PwnedChecker

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.

Key Features:

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.

Usage:

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.

Usage Example:

Without command-line argument '--show-hash':

image

With command-line argument '--show-hash':

image

About

PwnedChecker creates SHA-1 hashes based on user's password, and checks with hashes on HaveIBeenPwned to see if the password was compromised.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages