Skip to content

yogeshkumarsaini/Password-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” Password Generator

A simple console-based Password Generator built using Java. This project allows users to generate strong, random passwords with customizable length and optional inclusion of numbers and symbols.


✨ Features

  • Generate strong random passwords
  • Custom password length
  • Option to include numbers
  • Option to include symbols
  • Easy-to-use console interface

🧠 Concepts Used

  • Random number generation (Random)
  • String manipulation
  • Conditional statements
  • Loops
  • User input using Scanner

πŸ› οΈ Technologies

  • Java (JDK 8 or higher)
  • Console / Command Line

πŸ“‚ Project Structure

PasswordGenerator.java
README.md

▢️ How to Run

  1. Clone or download the project

  2. Open a terminal in the project directory

  3. Compile the program:

    javac PasswordGenerator.java
  4. Run the program:

    java PasswordGenerator

πŸ§ͺ Sample Output

Enter password length: 12
Include numbers? (yes/no): yes
Include symbols? (yes/no): yes
Generated Password: A9@dP#3xQ!m2

πŸš€ Possible Enhancements

  • Ensure at least one number and one symbol in the password
  • Password strength indicator (Weak / Medium / Strong)
  • GUI version using Swing or JavaFX
  • Copy password to clipboard

πŸ“œ License

This project is open-source and free to use for learning purposes.

About

Java console-based password generator with custom length and options for numbers and symbols.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published