This Python script evaluates the strength of a given password. The script checks various criteria such as length, presence of digits, uppercase and lowercase letters, and special characters to classify the password strength as "weak," "medium," or "strong."
- Password Strength Evaluation: The script evaluates the strength of a password based on several factors, including length, use of digits, uppercase letters, lowercase letters, and special characters.
- Python 3.x must be installed on your system.
-
Clone the Repository:
git clone https://github.com/yourusername/password-strength-evaluator.git cd password-strength-evaluator -
Run the Program:
python password_strength.py
-
Input the Password:
- The program will prompt you to enter a password.
- After entering the password, the program will display the strength of the password as either "weak," "medium," or "strong."
Enter a password: MyP@ssw0rd!
Password strength: strongYour project should be organized as follows:
password-strength-evaluator/
│
├── password_strength.py # The main Python script for password strength evaluation
├── README.md # The README file for your project
└── LICENSE # License file (optional)
password_strength.py: The main Python script containing the password strength evaluation code.README.md: Provides an overview of the project and instructions for use.LICENSE: (Optional) A file specifying the license under which your project is distributed.
- Security: This script is for educational purposes and basic password strength evaluation. For real-world applications, consider more comprehensive methods and tools for password security.
- Customization: You can modify the criteria for password strength based on your specific requirements.
This project is licensed under the MIT License. See the LICENSE file for more details.
- This script uses Python's built-in
remodule for regular expression matching.