Skip to content

linzele/Simple-Password-Strength-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Password Strength Tester

This Java program evaluates the strength of a password based on specific criteria such as the presence of lowercase and uppercase letters, digits, and special characters. The strength is categorized as "Weak," "Moderate," or "Strong."

Example Output

image

The program will display the strength classification of the entered password.

Purpose

The purpose of this program is to provide users with feedback on the strength of their passwords. By analyzing various components like lowercase and uppercase letters, digits, and special characters, the program offers suggestions on how to improve password security.

How It Works

Input: Users are prompted to enter a password for analysis.

Analysis: The program examines the entered password, checking for the presence of lowercase and uppercase letters, digits, and special characters.

Strength Classification: Based on the analysis, the program classifies the password into one of three categories:

Weak: The password might be too easy to guess.

Moderate: Not bad, but there's room for improvement.

Strong: Excellent! The password meets high-security standards.

Interactive Re-run: After analyzing the password, users have the option to try again. The program will prompt them to enter another password or exit.

Setup Environment

  1. Open a Terminal or Command prompt and navigate to the directory containing the downloaded Java files.

  2. Compile the Java Files:

    • Use the Java compiler (javac) to compile the Java source files. Run the following command:
 javac passwordStrengthTester.java
  1. Run the Program:

    • Once the compilation is successful, execute the Java program. Use the following command:
java passwordStrengthTester.java

About

Just a simple password strength tester! Try it out!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages