Skip to content
OishOrbitPublic

About

Users often use weak passwords that are vulnerable to dictionary attacks. We need a tool that evaluates password strength beyond just character count.A Python script that takes a user’s password as input ,checks the password, calculates entropy and shows the strength. It also suggests an alternate 16 character password

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

PassGuard 🔐

A Simple Password Strength Checker and Generator

Overview: PassGuard is a Python-based password utility that evaluates the.slice of strength of a user-provided password and generates a secure alternative if needed. It checks for common weak passwords, analyzes character composition, assigns a strength score, and provides feedback to improve password security. The project is designed to demonstrate basic cybersecurity principles such as password hygiene, entropy, and defensive programming.

Features: Detects commonly used weak passwords Scores passwords based on: 1.Length 2.Lowercase letters 3.Uppercase letters 4.Digits 5.Special characters

Provides improvement feedback when weaknesses are detected Generates a random, secure password using letters, digits, and symbols

Technologies Used Python 3 Built-in modules:

  1. random
  2. string

How It Works:-

1.The user enters a password. 2.The program checks whether it exists in a predefined list of common passwords. 3.If not common, the password is evaluated and given a score from 0 to 10. 4.Based on the score, the password is categorized as: Very Weak Weak Medium Strong Very Strong 5.A secure password is generated and suggested to the user.

Running the Program Prerequisites:- Python 3 installed on your system Example Output:: Password strength score Feedback on missing character types Suggested strong password

Possible Improvements :Prevent repeated characters in generated passwords Use cryptographically secure random generation (secrets module) Add a GUI or web interface Store common passwords externally for scalability

Some changes made after domain leads reviewed the project:- CSV change: I moved common passwords to a CSV file so the dataset can be updated independently of the code. I load it once at runtime and use a set for efficient lookup. Exception case: A 16-character password consisting entirely of special characters has high entropy despite lacking letters or digits, so I explicitly classify it as strong. secrets module: I used the secrets module instead of random because it provides cryptographically secure randomness, which is recommended for password generation. Disclaimer: This project is for educational purposes only and should not be used as a replacement for professional password management tools.

Author Oishika B.Tech Student, KIIT

About

Users often use weak passwords that are vulnerable to dictionary attacks. We need a tool that evaluates password strength beyond just character count.A Python script that takes a user’s password as input ,checks the password, calculates entropy and shows the strength. It also suggests an alternate 16 character password

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages