Skip to content

Harkin-13/password_strength_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Password Strength Checker πŸ”

A terminal-based password strength checker built with Python.
Evaluates the quality of a password, offers improvement suggestions, and estimates the time it would take to crack using zxcvbn β€” a realistic password strength estimator developed by Dropbox.


Author

SeΓ‘n Harkin
2nd Year Computing & IT (Software) student.


Features

  • Secure input using getpass (password is hidden in terminal)
  • Evaluates:
    • Minimum length (8 characters)
    • Presence of lowercase letters
    • Presence of uppercase letters
    • Presence of numbers
    • Presence of special characters
  • Clean report style output with pass/fail indicators
  • Suggests improvements for missing password traits
  • Estimates crack time using the zxcvbn library
  • Replayable loop with validation and memory clearing
  • Clean, readable structure with functional logic and inline assignment

Sample Output

================ New Test =================

Enter the password you would like to test: 
-------------------------------------------
Password Audit Report
-------------------------------------------
[βœ“] Minimum length (8)               Passed
[βœ“] Lowercase letter                 Passed
[βœ“] Uppercase letter                 Passed
[βœ—] Number                           Failed
[βœ—] Special character                Failed
-------------------------------------------
Suggested Improvements:
- Add at least one number.
- Use at least one special character (e.g. !@#$%).
-------------------------------------------
Overall Strength: Weak
Estimated Crack Time: 1 second

Test another password? (yes/no):

How to Run

  1. Make sure you have Python 3 installed.

  2. Install zxcvbn via pip:

    pip install zxcvbn
  3. Download or clone this repository.

  4. Run the script from terminal:

    python password_strength_checker.py

Releases

No releases published

Packages

No packages published

Languages