Python password strength checker
This is a simple Python project I built to understand how password security works in real-world applications. The program checks how strong a password is based on different conditions like length, use of uppercase and lowercase letters, numbers, and special characters.
It also gives suggestions to improve weak passwords, which makes it useful for learning basic security practices.
-
Checks if a password is strong, medium, or weak
-
Verifies:
- Length of the password
- Uppercase and lowercase letters
- Numbers
- Special characters
-
Detects some common weak passwords
-
Gives suggestions to improve the password
The program uses Python and regular expressions (regex) to analyze the password. Based on different checks, it assigns a score and decides the strength of the password.
- Make sure Python is installed
- Open terminal in the project folder
- Run the file:
python password_checker.py- Enter any password and see the result
Input:
hello123
Output:
Weak Password
Suggestions:
- Add uppercase letters
- Add special characters
I built this project to learn:
- Basic cybersecurity concepts
- Password policies
- Python regex
- Input validation
This project is for learning purposes only and does not replace real-world security systems.
John Malella