Password Strength Checker
This Python-based Password Strength Checker tool evaluates the strength of passwords and helps users improve their password security by providing actionable feedback. The tool checks the password against several criteria, such as length, character variety (uppercase, lowercase, digits, special characters), and whether it matches commonly used passwords.
Features:
- Password Strength Evaluation: Checks password strength based on length, character diversity, and common password lists.
- Common Password Check: Verifies whether the entered password is commonly used or weak (based on a
common-password.txtfile). - Feedback System: Provides suggestions to improve weak passwords, such as adding uppercase letters, digits, and special characters.
- Password Strength Categories: Classifies passwords into strength levels: Very Weak, Weak, Moderate, Strong, and Very Strong.
How It Works:
- The user inputs a password.
- The program checks its length and character diversity (uppercase, lowercase, digits, and special characters).
- The password is compared against a list of commonly used passwords stored in a
common-password.txtfile. - Based on the evaluation, the program assigns a strength score (from 1 to 7) and categorizes the password into one of the following: Very Weak, Weak, Moderate, Strong, or Very Strong
- The program then provides feedback and suggestions for improving weak passwords.
Installation
- Clone the repository:
git clone https://github.com/dev0558/Password_strength_checker.git
- Install Python 3.x if not already installed.
- Ensure you have the
common-password.txtfile in the same directory as the Python script.
Usage:
- Run the
password_checker.pyscript. - Download the commonpassword.txt file as well
- Input a password when prompted.
- The program will evaluate the password's strength and provide feedback.
- https://youtu.be/btJ-KJ9ohpw use this link to help yourself while running the code
Contributing
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m "Add new feature"). - Push to your forked repository (
git push origin feature-branch). - Create a pull request with your proposed changes.
License: This project is licensed under the MIT License.
Technologies Used:
- Python 3.x
- Git/GitHub