Skip to content

mingkun-tang/Password-Strength-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Password Strength Checker — Version 1

This is a beginner-friendly Python project that checks how strong a password is based on simple cybersecurity rules.
It evaluates password length, character variety, and provides helpful feedback on how to improve weak passwords.


What This Program Does

After the user enters a password, the program:

  • Checks if the password is at least 8 characters long
  • Checks for:
    • Uppercase letters (A–Z)
    • Lowercase letters (a–z)
    • Digits (0–9)
    • Special symbols (!@#$%&*)
  • Gives 2 points for each rule that passes
    → Maximum score: 10/10
  • Rates the password as:
    • Weak
    • Moderate
    • Strong
    • Very Strong
  • Prints helpful tips for missing requirements
  • Prints "Your password is perfect!" if all conditions are met

Scoring System

Rule Points
Length ≥ 8 +2
Has uppercase letter +2
Has lowercase letter +2
Has digit +2
Has symbol +2
Maximum Score 10/10

Strength Labels

Based on the final score:

  • 0–3 → Weak
  • 4–6 → Moderate
  • 7–8 → Strong
  • 9–10 → Very Strong

If all 5 checks pass (score = 10), the program prints:

"Your password is perfect!"


About

A cybersecurity-focused Python program that evaluates how strong a password is and gives feedback to help users improve it. This project demonstrates practical Python skills (loops, conditions, functions, scoring logic) and applies them to a real-world security problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages