A small beginner-friendly cybersecurity mini project that checks how strong a password is and gives simple tips to improve it. It uses the real-world zxcvbn password strength checker.
- User enters a password
- Checks if it is Weak, Medium, or Strong (using zxcvbn)
- Shows zxcvbn score (0 to 4)
- Analyzes:
- password length
- uppercase letters
- lowercase letters
- numbers
- special characters
- Shows feedback + suggestions to improve the password
- Basic password generator button
- Password strength progress bar
- Copy password button (copies the current password)
- Estimated crack time display (from zxcvbn)
- Common password warnings (from zxcvbn feedback)
- Explains why the password is weak (reasons section)
- Simple history list for generated passwords
- Basic dark mode toggle
- Save the analysis result as a text file
- Show/hide password option
- Python 3
- Tkinter (built-in GUI library)
- zxcvbn (password strength checking library)
- Make sure you have Python 3 installed.
- Create a virtual environment (recommended):
python3 -m venv .venv- Activate it:
source .venv/bin/activate- Install the library:
pip install zxcvbn-
Open a terminal in this folder.
-
Create virtual environment:
python3 -m venv .venv
That’s it — a small window will open and you can test passwords.