A secure password generator tool written in Python that creates strong, random passwords for enhanced security.
✨ Enhanced Version:
Originally part of my Python for Security Repository, now available as a standalone tool.
- Generates cryptographically secure random passwords
- Customizable password length and character sets
- Exclude similar characters (like 'l' and '1')
- Copy password to clipboard functionality
- Simple command-line interface
💡 Tip: For maximum security, generate passwords with at least 18 characters including uppercase, lowercase, numbers, and special symbols.
-
Clone the repository:
git clone https://github.com/ThiagoMaria-SecurityIT/PassGenerator.git cd PassGenerator -
Install dependencies:
pip install -r requirements.txt
Run the password generator:
python main.py- Cryptographically Secure Generation
- Utilizes Python's
secretsmodule (OS-level entropy sources) - Generates truly random passwords using
secretsmodule - Guarantees at least one character from each selected character set
- Utilizes Python's
- Secure Memory Handling
- Passwords are wiped from memory after generation
- Controlled Clipboard Exposure
- Automatic clipboard clearing after 30 seconds with visual countdown
- Detects external clipboard modifications during countdown
This application was developed with AI assistance to generate and refine the Python code, and is designed for Cybersecurity and InfoSec professionals at all experience levels.
Important Notes:
- Do not use this application without considering potential security implications in your work environment
- Always consult your Cybersecurity, InfoSec or IT department before deployment
- The AI-generated code has been thoroughly reviewed for security best practices
Thiago Maria - From Brazil to the World 🌎
Senior Security Information Professional | Passionate Programmer | AI Developer
With a professional background in security analysis and a deep passion for programming, I created this GitHub account to share knowledge about security information, cybersecurity, Python and AI development practices. Most of my work focuses on implementing security-first approaches at companies while maintaining usability and productivity.
Let's Connect:
👇🏽 Click on the badges below:
Contributions are welcome! Please:
- Fork the repository
- Create a new branch
- Submit a pull request
Ways to Contribute:
Want to see more upgrades? Help me keep it updated!
This project is licensed under the MIT License - see the LICENSE file for details.