Skip to content

cyb3rv1k1ng/PasswordGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Password Generator

A Python-based password generator that creates secure, random passwords. This script ensures strong passwords by including at least one digit, one uppercase letter, one lowercase letter, and one special character in every generated password.

Features

  • Generates 12-character long passwords by default.
  • Ensures a mix of:
  • Digits (e.g., 0-9)
  • Uppercase letters (e.g., A-Z)
  • Lowercase letters (e.g., a-z)
  • Special characters (e.g., @, #, $, %)
  • Prevents predictable patterns by shuffling the characters.
  • Each run generates a new secure password.

How It Works

The script selects at least one character from each category (digits, uppercase, lowercase, and special characters). Fills the rest of the password length with random characters from a combined pool. Shuffles the characters to ensure unpredictability. Outputs the password to the terminal. Customization To change the password length, modify the MAX_LEN variable in the script:

Contributing

Contributions are welcome! If you'd like to add new features or enhance the existing code, feel free to fork the repository and submit a pull request.

Releases

No releases published

Packages

No packages published

Languages