checking the strength of any password
This simple Python program evaluates the strength of a password based on various criteria, including length, lowercase and uppercase letters, numbers, and special characters.
- Checks if the password meets these security criteria:
- At least 8 characters long
- Contains at least one lowercase letter
- Contains at least one uppercase letter
- Includes at least one numeric digit
- Has at least one special character (
!@#$%^&*(),.?":{}|<>)
- Provides detailed feedback for weak passwords.
-
Clone this repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name -
Run the program:
Make sure you have Python installed and then execute:python password_checker.py
-
Input Example:
Enter your password: MySecur3Pass! Strong Password!
- Python 3.x
- No external libraries are required (
reis part of the standard library).
Enter your password: abc123
Weak Password. Please ensure your password:
- Is at least 8 characters long
- Has at least one uppercase letter
- Contains at least one special character (!@#$%^&*)
Enter your password: StrongP@ssw0rd
Strong Password!
Feel free to fork this project and contribute by adding features such as:
- GUI interface for better user interaction
- Saving password evaluation results in a file