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.
- 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.
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:
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.