A Python-based security tool that evaluates password strength, estimates crack time, detects password reuse, and suggests stronger alternatives using cryptographic techniques.
This tool was built to demonstrate real-world password security concepts including entropy calculation, hash-based reuse detection, and brute-force resistance estimation β key concepts in cybersecurity and secure application development.
- β Password Strength Rating β Weak / Medium / Strong
- β Entropy Calculation β Measures randomness in bits
- β Crack Time Estimation β Estimates time to brute force
- β Password Reuse Detection β Uses SQLite + SHA256 hashing
- β Common Password Detection β Flags weak common passwords
- β Complexity Analysis β Checks uppercase, lowercase, digits, special characters
- β Strong Password Generator β Suggests 3 secure random passwords
- β Security Feedback β Provides improvement suggestions
- Python 3
- SQLite3 (password history database)
- Hashlib (SHA256 password hashing)
- Regex (pattern matching)
- Math (entropy calculation)
- Random + String (password generation)
# Clone the repository
git clone https://github.com/Balmani12/password-strength-analyzer
# Navigate to folder
cd password-strength-analyzer
# Run the tool
python Password_Strength_Analyzer.py=======================================================
ADVANCED PASSWORD STRENGTH ANALYZER
=======================================================
Enter your password: MyP@ssw0rd123
=======================================================
PASSWORD SECURITY REPORT
=======================================================
Password Strength : STRONG
Password Length : 13 characters
Password Entropy : 77.63 bits
Estimated Crack Time : 3074 years
Excellent password security practices detected.
[+] Password hash securely stored in database.
- Password Entropy β Measures unpredictability of a password
- SHA256 Hashing β Secure one-way password storage
- Brute Force Resistance β Time estimation based on entropy
- Password Reuse Prevention β Database-backed hash comparison
- OWASP Password Guidelines β Length, complexity, uniqueness
- Cryptographic hashing with SHA256
- Password entropy and brute force mathematics
- Secure password storage using hashing (never plaintext)
- SQLite database integration in Python
- Real-world password security best practices
Balmani
- π LinkedIn: linkedin.com/in/bal-mani-7457a11ba
- π GitHub: github.com/Balmani12
- π― TryHackMe: tryhackme.com/p/balmani