PassGuard is a simple Python project that analyzes the strength of a password based on multiple security rules. It helps users understand how secure their password is and encourages better password practices.
-
Checks minimum password length
-
Detects uppercase and lowercase letters
-
Detects numbers and special characters
-
Gives strength rating:
- Weak
- Medium
- Strong
-
Uses Python
remodule (Regular Expressions)
- Python
- Regular Expressions (
remodule)
The program evaluates the password based on:
- Length (>= 8 characters)
- Presence of uppercase letters
- Presence of digits
- Presence of special characters
Each condition increases the score, and the final score determines password strength.
- Install Python (if not already installed)
- Copy the code into a file named
passguard.py - Run the program:
python passguard.py- Enter a password when prompted
Input:
Hello@123
Output:
Strong Password
This project helps in understanding:
- Password security concepts
- Regular expressions in Python
- Basic cybersecurity practices
- Add GUI using Tkinter
- Add password suggestions
- Integrate password breach API
- Add entropy calculation
Neha Megharaja Gujaran