Part of the Cybersecurity track, this project challenges students to think like security professionals by analysing what makes a password weak or strong.
Features
- Checks length, character variety, and common patterns
- Returns a score from 0–100 with a strength label
- Suggests specific improvements to the user
- Detects and warns against dictionary words
def check_strength(password):
score = 0
if len(password) >= 12: score += 25
if any(c.isupper() for c in password): score += 25
if any(c.isdigit() for c in password): score += 25
if any(c in "!@#$%^&*()" for c in password): score += 25
return score