This Python script checks the strength of a password based on key criteria such as length, use of uppercase and lowercase letters, numbers, and special characters. It provides real-time feedback to help users improve their password security.
- β Evaluates password strength as Strong, Medium, or Weak
- β Provides helpful suggestions to improve password quality
- β Simple command-line interface
- β
Uses Python's built-in
remodule for validation
A password is evaluated based on the following criteria:
- Minimum 8 characters
- At least one uppercase letter (AβZ)
- At least one lowercase letter (aβz)
- At least one number (0β9)
- At least one special character (e.g.,
!@#$%^&*)
- Python 3.x
- No external libraries required β uses the built-in
remodule
- Clone or download this repository
- Open a terminal or command prompt
- Run the script:
python password_checker.py
Example:
sql
Copy
Edit
Enter a password to check its strength: Hello123
Password Strength: π‘ Medium Password
Suggestions to improve:
- β Include at least one special character (!@#$...).