Skip to content

Balmani12/Password-Strength-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Advanced Password Strength Analyzer

A Python-based security tool that evaluates password strength, estimates crack time, detects password reuse, and suggests stronger alternatives using cryptographic techniques.


πŸ“Œ About

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.


✨ Features

  • βœ… 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

πŸ› οΈ Technologies Used

  • Python 3
  • SQLite3 (password history database)
  • Hashlib (SHA256 password hashing)
  • Regex (pattern matching)
  • Math (entropy calculation)
  • Random + String (password generation)

πŸš€ How to Run

# 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

πŸ“Š Sample Output

=======================================================
        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.

πŸ” Security Concepts Covered

  • 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

πŸ“š What I Learned

  • 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

πŸ‘¨β€πŸ’» Author

Balmani

About

Python security tool that analyzes password strength, calculates entropy, estimates crack time and detects password reuse using SHA256 hashing.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages