Skip to content

PierrunoYT/password-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Random Password Generator

This is a simple command-line tool written in Python that generates random passwords based on user preferences. The generated passwords meet basic security standards and can include letters, digits, special characters, and custom characters.

Features

  • Generates passwords with a minimum length of 8 characters
  • Includes at least one letter (uppercase and lowercase)
  • Option to include digits
  • Option to include special characters
  • Option to include custom characters
  • Ensures the generated password includes at least one character from each requested character set

Installation

  1. Make sure you have Python installed on your system. This script was written and tested with Python 3.x.

  2. Clone or download this repository to your local machine.

git clone https://github.com/your-username/random-password-generator.git

Usage

  1. Navigate to the directory where you saved the repository:
cd /path/to/random-password-generator
  1. Run the script:
python password_generator.py
  1. Follow the prompts to specify your password requirements:

    • Enter the desired password length (minimum 8)
    • Choose whether to include digits (y/n)
    • Choose whether to include special characters (y/n)
    • Enter any additional custom characters to include (leave blank for none)
  2. The generated password will be displayed in the console.

Example

Enter the desired password length (minimum 8): 12
Include digits? (y/n): y
Include special characters? (y/n): y
Enter any additional custom characters to include (leave blank for none): @#

Your generated password is: Xt8#@Ky2Lp7Q

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

A Password Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages