Skip to content

18Radha/password-generator-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Password Generator using Java

Java project for generating and checking password strength

Introduction

This project is a simple Java application that helps users generate strong and secure passwords. In today’s digital world, many people use weak passwords, which can make their accounts vulnerable to hacking. This program helps solve that problem by generating random passwords that include letters, numbers, and special characters.

The project also allows users to check the strength of a password and view useful information about it.

Objectives

The main objectives of this project are:

  • To generate strong and random passwords.
  • To check whether a password is strong, medium, or weak.
  • To display useful information about a password such as number of letters, digits, and symbols.
  • To practice basic Java programming concepts like loops, conditions, methods, and user input.

Features

This program provides the following features:

  1. Password Generation The user can enter the desired password length, and the program generates a random password using uppercase letters, lowercase letters, numbers, and special characters.

  2. Password Strength Checking The user can enter any password to check whether it is strong, medium, or weak based on its composition.

  3. Password Information Display The program displays useful details about the password, including:

    • Total password length
    • Number of letters
    • Number of digits
    • Number of symbols
  4. Menu-Based Interface The program runs in a loop and displays a menu so the user can choose different options until they decide to exit.

Technologies Used

  • Programming Language: Java
  • IDE/Editor: Visual Studio Code
  • Version Control: Git and GitHub

How to Run the Project

  1. Download or clone this repository.

  2. Open the project folder in Visual Studio Code or any Java IDE.

  3. Compile the program using:

    javac PasswordGenerator.java

  4. Run the program using:

    java PasswordGenerator

  5. Follow the menu options displayed in the terminal.

Conclusion

This project demonstrates how Java can be used to build a simple but useful application for password security. It also helped in understanding Java programming concepts such as methods, loops, condition statements, and user input handling. The project can be further improved by adding a graphical user interface or saving generated passwords securely.

About

Java project for generating and checking password strength

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages