PYGEN is a professional command-line password utility written in Python. It generates cryptographically secure passwords and evaluates password strength using real entropy calculation, not fake “weak / medium / strong” rules.
Most password tools:
- Guess strength using rules ❌
- Depend only on password length ❌
PYGEN uses real mathematics.
It calculates password strength using entropy, the same concept used in cybersecurity and cryptography.
✔ Secure Random Password Generator
✔ Entropy-Based Strength Checker (bits)
✔ Clear Strength Classification
✔ Clean & Minimal CLI Interface
✔ ANSI Color Output
✔ Single-File Architecture
✔ Cross-Platform (Linux / Windows / macOS)
PYGEN uses the entropy formula:
Entropy = log₂(N^L)
Where:
- N = size of the character set
- L = password length
Higher entropy means stronger resistance against brute-force attacks.
Clone the repository:
git clone https://github.com/AntorDOS/PyGen.git
cd PyGenRun the tool:
python3 pygen.py
# or
./pygen.pyNo external dependencies required.
- Generate strong random passwords
- Check entropy of existing passwords
- Understand how character sets affect strength
Ideal for:
- Cybersecurity learners
- Ethical hacking practice
- Developers & system administrators
- Password policy testing
- Penetration testing labs
- Security awareness training
- CLI-based security tools
- Learning entropy & brute-force resistance
PyGen/
├── pygen.py # Main program
└── README.md # Documentation
Simple, clean, and easy to audit.
This tool is intended for educational and defensive purposes only. The author is not responsible for any misuse.
Md Jahid Hasan Antor GitHub: https://github.com/AntorDOS
If you like this project:
- ⭐ Star the repository
- 🍴 Fork it
- 🧠 Share feedback or ideas
- Password crack time estimation
- Custom character set selection
- Save output to file
- Wordlist-based entropy analysis
