Skip to content

A Python program to generate secure, randomized passwords based on user input for letters, symbols, and numbers. Includes input validation and robust error handling for a smooth user experience.

License

Notifications You must be signed in to change notification settings

pranjalco/password-generator-intermediate

Repository files navigation

Password Generator Program

Description

This program generates a random password based on user input for the number of letters, symbols, and numbers. The password includes a mix of these characters, with their positions randomized to make it more secure. This program helps create strong passwords that are harder for hackers to guess.

Level

  • Level: Intermediate
  • Skills: Python, Lists, Loops, Random Module, Input Validation, Error Handling
  • Domain: Cybersecurity, Utility

Author

  • Name: Pranjal Sarnaik
  • Date: 2024-12-01

Features

  • Takes user input for the desired number of letters, symbols, and numbers.
  • Ensures randomness by shuffling the final password characters.
  • Includes error handling using a while loop and try-except block to validate user inputs.

Installation

  1. Clone this repository:
    git https://github.com/pranjalco/password-generator-intermediate.git
    
  2. Navigate to the project directory:
    cd password-generator-intermediate
    

Running the Program

  1. Ensure Python 3.9 or later is installed on your system.
  2. To run the program:
    • Using PyCharm: Open the project in PyCharm and run password_generator.py.
    • Using Terminal/Command Prompt: Navigate to the project folder and execute:
      python password_generator.py
    • By Double-Clicking: You can double-click password_generator.py to run it directly, provided Python is set up to execute .py files on your system.
  3. If the console window closes immediately, run the program from the terminal/command prompt or IDE to see the output.

About

A Python program to generate secure, randomized passwords based on user input for letters, symbols, and numbers. Includes input validation and robust error handling for a smooth user experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages