Skip to content

Commit ed5c388

Browse files
Update README.md
1 parent 09ca60f commit ed5c388

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed

README.md

2.52 KB

SecurePasswordGenerator-PythonSecure Password Generator 🛡️

Python Version License

A Python implementation of a secure password generator that creates strong, randomized passwords with customizable character sets.

📜 About

This project demonstrates how to generate secure passwords using Python's randomization capabilities. It's an educational tool for understanding basic security principles in password creation and helps users create strong passwords that are difficult to crack.

✨ Features

  • Customizable number of letters, symbols, and numbers
  • Random selection from extensive character sets
  • Automatic shuffling for maximum entropy
  • Easy-to-use command-line interface
  • Generates passwords of varying complexity levels

🚀 Quick Start

Installation

  1. Clone the repository:

    git clone https://github.com/fahadelahikhan/SecurePasswordGenerator-Python.git
    cd SecurePasswordGenerator-Python
  2. Run the password generator:

    python Password_Generator.py

Basic Usage

# Import the password generator function
from password_generator import generate_password

# Generate a password with 8 letters, 2 symbols, and 2 numbers
password = generate_password(8, 2, 2)
print(password)  # Output: Example output: "a3#B7$dE"

Example Password Generation

# Generate a strong password with 12 letters, 4 symbols, and 4 numbers
strong_password = generate_password(12, 4, 4)
print(f"Your secure password: {strong_password}")

# Generate a simple password with 6 letters and 2 numbers
simple_password = generate_password(6, 0, 2)
print(f"Your simple password: {simple_password}")

📖 How It Works

The password generator works by:

  1. Selecting random characters from predefined sets of letters (both uppercase and lowercase), numbers, and symbols
  2. Combining these characters based on user-specified quantities
  3. Shuffling the resulting character list to ensure maximum randomness
  4. Joining the characters into a final password string

The algorithm ensures that each character is randomly selected and that the final password has a good mix of different character types.

⚖️ License

Distributed under the MIT License. See LICENSE for details.


Note: While this password generator creates strong passwords, always follow best security practices. Never share your passwords, use multi-factor authentication when available, and consider using a password manager for optimal security.

0 commit comments

Comments
 (0)