Skip to content

Latest commit

Β 

History

History
53 lines (35 loc) Β· 2.54 KB

File metadata and controls

53 lines (35 loc) Β· 2.54 KB

Password Strength Checker

This Python script checks the strength of a password based on key criteria such as length, use of uppercase and lowercase letters, numbers, and special characters. It provides real-time feedback to help users improve their password security.


πŸš€ Features

  • βœ… Evaluates password strength as Strong, Medium, or Weak
  • βœ… Provides helpful suggestions to improve password quality
  • βœ… Simple command-line interface
  • βœ… Uses Python's built-in re module for validation

βœ… Password Rules

A password is evaluated based on the following criteria:

  • Minimum 8 characters
  • At least one uppercase letter (A–Z)
  • At least one lowercase letter (a–z)
  • At least one number (0–9)
  • At least one special character (e.g., !@#$%^&*)

πŸ“¦ Requirements

  • Python 3.x
  • No external libraries required β€” uses the built-in re module

πŸ’» How to Use

  1. Clone or download this repository
  2. Open a terminal or command prompt
  3. Run the script:
python password_checker.py
Example:

sql
Copy
Edit
Enter a password to check its strength: Hello123

Password Strength: 🟑 Medium Password

Suggestions to improve:
- ❌ Include at least one special character (!@#$...).