KZarzour Password Generator Save

This is a Java Console Application to generate Random passwords and performing a Strength check

Project README

Password-Generator

This project is a Java Console Application to generate random passwords and perform password strength checks.

Introduction

I decided to build this project during the Winter Break of my second year after taking the Object-Oriented Effective Java Programming course. I wanted to build something interesting with Java to practice and see what I could do on my own. However, I still wasn't sure what I wanted to do. Then one night, while explaining to my father the importance of having a strong password for his social media accounts, I got the idea of creating a random password generator. A week later, it was done.

While working on it, I decided to include a password strength checker feature that checks the overall strength of the entered password. I was pretty happy with how it turned out, but I realized that it was not very straightforward to use for someone who does not know how it is supposed to work. So, I decided to create a GUI for the application for the next step, which is available in the Password-Services repository.

Functionalities

1. Generating a Password:

  • The user answers with "Yes" or "No" to questions about using uppercase letters, lowercase letters, numbers, or symbols.
  • The user then enters the desired length of the password.
  • A password alphabet is generated based on the user's answers, which is a string containing the chosen characters.
  • Random characters from the password alphabet are selected and combined to form a completely random string according to the user's preferences.
  • The randomly generated password is then displayed on the console.

2. Checking a Password's Strength:

The strength check is based on the following criteria:

  • The password uses uppercase letters.
  • The password uses lowercase letters.
  • The password uses numbers.
  • The password uses symbols.
  • The length of the password is 8 or more (8 is often the minimum required length for a decent password).
  • The length of the password is 16 or more (16 is considered to be the minimum length for a good password).

These criteria are used to calculate a score for the password, which determines the message displayed to the user indicating the strength of the password (weak/medium/good/great).

3. Displaying Useful Information:

This is a minor feature that displays information for the user on the console about password security, such as avoiding using the same password twice, avoiding character repetition, keyboard patterns, dictionary words, letter or number sequences, etc.

Open Source Agenda is not affiliated with "KZarzour Password Generator" Project. README Source: KZarzour/Password-Generator
Stars
206
Open Issues
8
Last Commit
6 days ago

Open Source Agenda Badge

Open Source Agenda Rating