Skip to content

lakshya-004/password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ Strong Password Generator (C++)

C++

A secure and easy-to-use password generator written in C++ with a console-based UI. Generate strong passwords with uppercase, lowercase, digits, and symbols in seconds! Perfect for beginners and developers who want secure passwords fast.


✨ Features

  • βœ… Menu-driven console UI
  • βœ… Generate multiple passwords at once
  • βœ… Guarantees 1 uppercase, 1 lowercase, 1 digit, 1 symbol
  • βœ… Random shuffling for strong security
  • βœ… Beginner-friendly: loops and if-else only
  • βœ… No recursion, no external dependencies

πŸ–₯ Usage

  1. Compile the program:
g++ -o password_generator password_generator.cpp
  1. Run the program:
./password_generator
  1. Follow the menu
==============================
   Strong Password Generator
==============================
1. Generate Password(s)
2. Exit
Enter your choice:

1 β†’ Generate password(s)

2 β†’ Exit the program

Example Output

Enter password length (>=4): 12
How many passwords to generate? 3

Generated Passwords:
Password 1: F8!wQa2#kLpR
Password 2: r2@L9hV!eXm#
Password 3: T!p3qWk1@Nz$

πŸ“‚ Project Structure

password-generator/
β”œβ”€β”€ random_password_generator.cpp
β”œβ”€β”€ random_password_generator.exe
└── README.md

πŸ”‘ Short Description

Secure C++ password generator with console UI. Generates multiple strong passwords including uppercase, lowercase, digits, and symbols. Beginner-friendly, loop-based, and highly customizable.

Made with ❀️ by Lakshya soni

About

Strong Password Generator in C++ with console UI. Generates secure passwords of any length, ensuring at least 1 uppercase, 1 lowercase, 1 digit, and 1 symbol. Supports generating multiple passwords at once with random shuffling. Simple, loop-based, easy-to-use, and beginner-friendly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages