Skip to content

Commit a6686bb

Browse files
authored
Update README.md
Signed-off-by: Aakash G <[email protected]>
1 parent c1edbaf commit a6686bb

File tree

1 file changed

+54
-23
lines changed

1 file changed

+54
-23
lines changed

Password Strength Checker/README.md

Lines changed: 54 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,65 @@
11
# 🔐 Password Strength Checker
22

3-
A simple command-line Python tool to evaluate the strength of a given password.
4-
It checks for key security features like length, character variety, and special symbols, and provides visual feedback using color-coded strength indicators.
3+
A simple Python CLI tool to check the strength of a password using regular expressions and color-coded output via `colorama`.
4+
5+
## Features
6+
7+
- Checks password length (minimum 8 characters)
8+
- Detects uppercase and lowercase letters
9+
- Verifies presence of numbers
10+
- Detects special characters
11+
- Color-coded strength display (Weak 🔴, Medium 🟠, Strong 🟢)
12+
13+
## Requirements
14+
15+
- Python 3.x
16+
- `colorama` module
17+
18+
## Installation
19+
20+
1. **Clone the repository**:
21+
```bash
22+
git clone https://github.com/your-username/password-strength-checker.git
23+
cd password-strength-checker
24+
```
25+
26+
2. **Install dependencies**:
27+
```bash
28+
pip install colorama
29+
```
30+
31+
## Usage
32+
33+
Run the script from the command line:
34+
35+
```bash
36+
python password_checker.py
37+
```
538

639
---
740

8-
## 📌 Features
41+
Then enter your password when prompted:
42+
43+
bash
44+
Copy
45+
Edit
46+
🔐 Password Strength Checker
47+
48+
Enter your password: MyP@ssw0rd
949

10-
- Checks for:
11-
- Minimum length (8 characters)
12-
- Uppercase letters
13-
- Lowercase letters
14-
- Numbers
15-
- Special characters
16-
- Returns one of the following:
17-
- 🔴 Weak
18-
- 🟠 Medium
19-
- 🟢 Strong
20-
- Terminal color-coded output using colorama
50+
Password Strength: 🟢 Strong
2151

2252
---
2353

24-
## 💻 How It Works
54+
## Strength Criteria
2555

26-
The tool evaluates the password based on 5 key rules. For each rule satisfied, 1 point is awarded:
27-
- Score 0-2 → Weak
28-
- Score 3-4 → Medium
29-
- Score 5 → Strong
56+
| Score | Criteria Met | Strength |
57+
| ----- | -------------------------- | --------- |
58+
| ≤ 2 | Fewer than 3 checks passed | 🔴 Weak |
59+
| 3–4 | Moderate checks passed | 🟠 Medium |
60+
| 5 | All checks passed (secure) | 🟢 Strong |
61+
62+
---
63+
64+
# Build by AAKASH
3065

31-
Example:
32-
bash
33-
Enter your password: Rahul123
34-
Password Strength: 🟠 Medium

0 commit comments

Comments
 (0)