Skip to content
프로젝트

KZarzour/Password-Generator

GitHub에서 보기

소개

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

보안 및 개인정보 보호

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

관련 프로젝트 살펴보기

불러오는 중…