A simple Flask web app that checks how strong a password is and whether it has appeared in known data breaches using the Have I Been Pwned API. Built as a cybersecurity learning project.
-
Checks password strength based on:
-
Minimum 8 characters
-
Use of uppercase, lowercase, digits, and symbols
-
-
Verifies passwords against the Have I Been Pwned API
-
Shows color-coded results (weak, medium, strong)
-
Clean web interface
-
Safe: passwords are hashed locally before being checked
-
Python 3
-
Flask (backend)
-
Requests (API calls)
-
HTML + CSS (frontend)
-
Clone the repository: git clone https://github.com/yourusername/password-checker.git cd password-checker
-
Create and activate a virtual environment: python3 -m venv venv source venv/bin/activate (Linux/Mac) venv\Scripts\activate (Windows)
-
Install dependencies: pip install -r requirements.txt
-
Run the app: python app.py
-
Open your browser and go to: http://127.0.0.1:5000/
password_checker/
- app.py
- requirements.txt
- templates/
- index.html
- result.html
- venv/
-
Real-time strength meter (JavaScript)
-
Track usage stats
-
Add light/dark theme switch
kornix Cybersecurity & Python Developer GitHub: https://github.com/kornix-dev
Disclaimer: This project is for educational purposes only. Do not use real passwords for testing

