entropy-password-generator


Nameentropy-password-generator JSON
Version 0.6.4 PyPI version JSON
download
home_pageNone
SummaryA secure password generator with high entropy, compliant with Proton and NIST standards
upload_time2025-08-07 14:24:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords cryptography entropy generator password password-manager security
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![EntroPy Password Generator - A secure and customizable password generator
written in Python](https://drive.google.com/uc?export=download&id=19T8p_jzaaWGx9RS0sQlW7p6vG-9Hk4K0)

---

# EntroPy Password Generator - A secure and customizable password generator written in Python (v0.6.4)

<div align="center">
  <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-FFC107?style=flat&logo=mit&logoColor=white" />
  <img alt="Made with Python" src="https://img.shields.io/badge/Made%20with-Python-3572A5?style=flat&logo=python&logoColor=white" />
  <img alt="Entropy Compliant" src="https://img.shields.io/badge/Entropy%20Compliant-Proton%20%26%20NIST-239120?style=flat&logo=security&logoColor=white" />
  <img alt="Maintained" src="https://img.shields.io/badge/Maintained-Yes%202025-4fc08d?style=flat&logo=maintenance&logoColor=white" />
  <img alt="GitHub Actions Status" src="https://img.shields.io/github/actions/workflow/status/gerivanc/entropy-password-generator/python-app.yml?style=flat&logo=github&logoColor=white" />
  <a href="https://test.pypi.org/project/entropy-password-generator/"><img alt="Test PyPI Project" src="https://img.shields.io/badge/Project-Test%20PyPI-0078D4?style=flat&logo=pypi&logoColor=white" /></a>
  <a href="https://pypi.org/project/entropy-password-generator/"><img alt="PyPI Project" src="https://img.shields.io/badge/Project-PyPI-0078D4?style=flat&logo=pypi&logoColor=white" /></a>
</div>

**EntroPy Password Generator** is a secure and customizable password generator developed in Python, enabling users to generate strong passwords on both Linux and Windows systems. It creates robust passwords with configurable character sets and calculates their entropy to evaluate strength. The project provides 20+ modes for secure password generation, ranging from 15 to 128 characters, with entropies between 97.62 bits and 833.00 bits, exceeding the [Protonยฉ](https://proton.me/blog/what-is-password-entropy) recommended minimum of 75 bits and the cryptographic strength best practices outlined in [NIST SP 800-63B](https://pages.nist.gov/800-63-3/sp800-63b.html) and [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf).

---

## ๐Ÿ“š Table of Contents
- [๐Ÿ“œ Disclaimer](#-disclaimer)
- [โœจ Features](#-features)
- [๐Ÿ“‹ Requirements](#-requirements)
- [๐Ÿ”’ Password Modes](#-password-modes)
- [๐Ÿ’พ Installation](#-installation)
- [๐Ÿ›  Command Line Interface](#-command-line-interface)
- [๐Ÿ“ธ Screenshots](#-screenshots)
- [โš™๏ธ Using Predefined Modes](#๏ธ-using-predefined-modes)
- [๐Ÿ’กSuggestions for Password Types](#-suggestions-for-password-types)
- [๐Ÿ“ฆ Install in simulated environment](#-install-in-simulated-environment)
- [๐Ÿ–ฅ๏ธ Getting Started on Windows](#๏ธ-getting-started-on-windows)
- [๐Ÿ“Š Password Entropy Calculation](#-password-entropy-calculation)
- [๐Ÿ› ๏ธ Development](#๏ธ-development)
- [๐Ÿ“ข Reporting Issues](#-reporting-issues)
- [๐Ÿž Reporting Bugs](#-reporting-bugs)
- [๐Ÿ›ก๏ธ Security - Reporting a Vulnerability](#๏ธ-security---reporting-a-vulnerability)
- [๐Ÿค Contributing](#-contributing)
- [๐Ÿ“ Release Notes](#-release-notes)
- [๐Ÿ“… Changelog](#-changelog)
- [โค๏ธ Support This Project](#๏ธ-support-this-project)
- [๐Ÿ“ง Contact](#-contact)
- [๐Ÿ“„ License](#-license)

---

# ๐Ÿ“œ Disclaimer
Do not attempt to memorize the passwords generated by this tool. Instead, use a reliable password manager, such as [Bitwardenยฉ](https://bitwarden.com/), which I personally recommend. The only password you should memorize is the master password for your password manager's vault, created with a strong combination of uppercase and lowercase letters, numbers, and special characters. Enable two-factor authentication (2FA) whenever possible to enhance security. A great option for managing your 2FA is Ente Auth , a free, open-source, and cross-platform app that provides end-to-end encrypted backups. [Ente Auth](https://ente.io/auth/) ensures your 2FA codes are secure and synced across devices, with externally audited encryption, offering robust protection for all your accounts that support 2FA.

---

# โœจ Features
- Generates passwords with lengths between **15 and 128 characters**.
- Supports uppercase letters (A-Z), lowercase letters (a-z), digits (0-9), and special characters (!@#$%^&*()_+-=[]{}|;:,.<>?~\\).
- Option to exclude visually ambiguous characters (e.g., 'I', 'L', 'O', '0') for better readability.
- Calculates password entropy (in bits) to evaluate strength.
- Displays a warning if the generated password's entropy is below 75 bits (Protonยฉ standard), with suggestions to improve security.
- Command-line interface (CLI) for flexible usage.
- Uses Python's `secrets` module for cryptographically secure random generation.

---

# ๐Ÿ“‹ Requirements
- Python 3.8 or higher.
- No external dependencies (uses only standard Python libraries: `secrets`, `string`, `math`, `argparse`).

---

# ๐Ÿ”’ Password Modes
The generator offers 20+ modes for secure password generation, divided into three blocks:

- **Block I (Modes 1โ€“10):** Fixed length of 24 characters, including ambiguous characters (e.g., 'I', 'O', '0'), with varying character sets to balance readability and security. Ideal for general-purpose passwords, such as website logins or application credentials.
- **Block II (Modes 11โ€“20):** Varying lengths (15 to 128 characters), mostly excluding ambiguous characters for enhanced readability. These modes cater to sensitive applications, from personal accounts to cryptographic keys and enterprise-grade security.
- **Block III (Using Custom Configuration):** Custom passwords with lengths between 15 and 128 characters, specified using the --length option followed by the desired length (15-128), including ambiguous characters. 
These passwords achieve entropies ranging from 97.62 to 833.00 bits, making them suitable for a wide range of applications, from personal use to high-security environments requiring robust cryptographic strength.

## Password Modes Summary
The table below summarizes the 20 password generation modes, ordered by increasing entropy, highlighting their configurations, character set sizes (\( R \)), and recommended use cases:

| Mode | Length | Character Set | R (Charset Size) | Entropy (bits) | Security Level | Use Case |
|------|--------|---------------|------------------|----------------|----------------|----------|
| 11 | 15 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 95 | 95.10 | Strong | Personal accounts (email, social media) |
| 13 | 20 | Lowercase + Digits (no ambiguous) | 36 | 99.08 | Strong | Basic application logins |
| 14 | 20 | Uppercase + Digits (no ambiguous) | 36 | 99.08 | Strong | Device authentication |
| 12 | 18 | Full (uppercase, lowercase, digits, symbols, with ambiguous) | 95 | 117.14 | Very Strong | Professional accounts (work email, VPN) |
| 4 | 24 | Uppercase + Digits (with ambiguous) | 36 | 124.08 | Very Strong | Legacy systems requiring uppercase |
| 5 | 24 | Lowercase + Digits (with ambiguous) | 36 | 124.08 | Very Strong | Readable passwords for manual entry |
| 6 | 24 | Digits + Special (with ambiguous) | 43 | 126.85 | Very Strong | API tokens with limited character sets |
| 3 | 24 | Uppercase + Lowercase (with ambiguous) | 52 | 136.81 | Very Strong | General-purpose website logins |
| 1 | 24 | Lowercase + Special (with ambiguous) | 59 | 138.75 | Very Strong | Secure notes or backup codes |
| 2 | 24 | Uppercase + Special (with ambiguous) | 59 | 138.75 | Very Strong | Administrative console access |
| 7 | 24 | Uppercase + Lowercase + Digits (with ambiguous) | 62 | 142.90 | Very Strong | Multi-user system credentials |
| 9 | 24 | Uppercase + Digits + Special (with ambiguous) | 69 | 144.54 | Very Strong | Database access keys |
| 10 | 24 | Lowercase + Digits + Special (with ambiguous) | 69 | 144.54 | Very Strong | Secure file encryption |
| 8 | 24 | Uppercase + Lowercase + Special (with ambiguous) | 85 | 151.16 | Extremely Strong | High-security application logins |
| 15 | 24 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 152.16 | Extremely Strong | Enterprise-grade passwords |
| 16 | 32 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 202.88 | Cryptographic Grade | API keys for sensitive services |
| 17 | 42 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 266.27 | Cryptographic Grade | Server authentication tokens |
| 18 | 60 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 380.39 | Ultra Secure | Financial system credentials |
| 19 | 75 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 475.49 | Ultra Secure | Master keys for password managers |
| 20 | 128 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 811.50 | Ultra Secure (Theoretical Maximum) | Cryptographic keys, blockchain wallets |

> **Note**: **Search Space Depth** defines the variety of characters in a password, influencing its resistance to brute-force attacks. Expanding it with letters, numbers, and symbols increases possible combinations, making the password harder to crack. **Entropy** reaches theoretical maximum values under uniform random selection, but requiring at least one character per type slightly reduces effective entropy in shorter passwords. This reduction is negligible, and all modes exceed Protonยฉ and NIST standards.

---

# ๐Ÿ’พ Installation 
1. Ensure you have Python 3.8 or higher installed.
2. Clone the repository:
   ```bash
   git clone https://github.com/gerivanc/entropy-password-generator.git
   cd entropy-password-generator
   ```
3. No additional dependencies are required, as the project uses only Python standard libraries.

---

# ๐Ÿ›  Command Line Interface
- `--mode <number>`: Select a predefined password generation mode (1 to 20). Overrides other configuration options.
- `--length <length>`: Set password length (15 to 128, default: 72). Ignored if `--mode` is specified.
- `--no-uppercase`: Exclude uppercase letters. Ignored if `--mode` is specified.
- `--no-lowercase`: Exclude lowercase letters. Ignored if `--mode` is specified.
- `--no-digits`: Exclude digits. Ignored if `--mode` is specified.
- `--no-special`: Exclude special characters. Ignored if `--mode` is specified.
- `--with-ambiguous`: Include ambiguous characters. Ignored if `--mode` is specified.

---

## ๐Ÿงช Usage
Run the generator from the command line interface, specifying a custom mode or configuration. After installing from Test PyPI in the virtual environment or locally, use:

Mode 1 to 20.
```bash
entropy-password-generator --mode <number>
```

else

Using Custom Configuration, (15-128 characters, all types, with ambiguous)
```bash
entropy-password-generator --length <number> --with-ambiguous
```

Alternatively, run directly from the repository:

Mode 1 to 20.
```bash
python3 entropy_password_generator/password_generator.py --mode <number>
```

else

Using Custom Configuration, (15-128 characters, all types, with ambiguous)
```bash
python3 entropy_password_generator/password_generator.py --length <number> 
```

---

## ๐Ÿ“ธ Screenshots

### Below is an example of the CLI output for **Mode 11** `--mode 11`:

![Mode 11 Output](https://drive.google.com/uc?export=download&id=1ZlTtph8U6nlWscN4I0MaXPNiZR0IiT4V)

> *Note*: Screenshot using the command: `python3 entropy_password_generator/password_generator.py --mode 11`. Demonstration image of the output result of the function.

### Below is an example of the CLI output for  **--length** `--length 15 --with-ambiguous`:

![--length 15 Output](https://drive.google.com/uc?export=download&id=1PIe4WGdyGwV1g5t18F7JQFYBQctfpoxO)

> *Note*: Screenshot using the command: `python3 entropy_password_generator/password_generator.py --length 15 --with-ambiguous`. Demonstration image of the output result of the function.

---

# โš™๏ธ Using Predefined Modes

The generator offers over 20+ modes for secure password generation, divided into three blocks. Below are examples of each of the 20+ predefined modes, showing their settings and entropy:

## ๐Ÿงฉ Block I (All with ambiguous characters, length 24)
**Mode 1: Lowercase + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 1
```
```
Generated password: &\]*y>fhqs*e<.+fl=~ijy-i
Entropy: 138.75 bits
```

**Mode 2: Uppercase + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 2
```
```
Generated password: JRYAHHASE[|&`M`B)!!EQ$RD
Entropy: 138.75 bits
```

**Mode 3: Uppercase + Lowercase**
```bash
python3 entropy_password_generator/password_generator.py --mode 3
```
```
Generated password: CWdoNFcWbvwbEOItFvAdcLmo
Entropy: 136.81 bits
```

**Mode 4: Uppercase + Digits**
```bash
python3 entropy_password_generator/password_generator.py --mode 4
```
```
Generated password: 13P994RI91LP9UY7WRINH6TQ
Entropy: 124.08 bits
```

**Mode 5: Lowercase + Digits**
```bash
python3 entropy_password_generator/password_generator.py --mode 5
```
```
Generated password: opzqnqb52amopnbfyduo74dl
Entropy: 124.08 bits
```

**Mode 6: Digits + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 6
```
```
Generated password: :\\{%27!3)[_~35%@!`\\],#
Entropy: 126.85 bits
```

**Mode 7: Uppercase + Lowercase + Digits**
```bash
python3 entropy_password_generator/password_generator.py --mode 7
```
```
Generated password: YMuUq6P0U6CPtoeuuqDZ7Kku
Entropy: 142.90 bits
```

**Mode 8: Uppercase + Lowercase + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 8
```
```
Generated password: NmP<ToUHnm*:m\u:Rhspj=:w
Entropy: 151.16 bits
```

**Mode 9: Uppercase + Digits + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 9
```
```
Generated password: 0O*>@T,W&Z<99?U%MW1}XPP5
Entropy: 144.54 bits
```

**Mode 10: Lowercase + Digits + Special characters**
```bash
python3 entropy_password_generator/password_generator.py --mode 10
```
```
Generated password: =7~@]pv@%>al=@ibp?+}j0d#
Entropy: 144.54 bits
```

---

## ๐ŸŒ€ Block II (Mixed configurations)
**Mode 11: All character types, no ambiguous characters (length 15)**
```bash
python3 entropy_password_generator/password_generator.py --mode 11
```
```
Generated password: ?*WjM\MR-.JkQr5
Entropy: 95.10 bits
```

**Mode 12: All character types, with ambiguous characters (length 18)**
```bash
python3 entropy_password_generator/password_generator.py --mode 12
```
```
Generated password: \?2lcM]Kb^m]a:LD)L
Entropy: 117.14 bits
```

**Mode 13: Lowercase + Digits, no ambiguous characters (length 20)**
```bash
python3 entropy_password_generator/password_generator.py --mode 13
```
```
Generated password: 9mfe5vcjv9trnf9xg58k
Entropy: 99.08 bits
```

**Mode 14: Uppercase + Digits, no ambiguous characters (length 20)**
```bash
python3 entropy_password_generator/password_generator.py --mode 14
```
```
Generated password: SS54DGAYSSK3XJ4ACUTD
Entropy: 99.08 bits
```

**Mode 15: All character types, no ambiguous characters (length 24)**
```bash
python3 entropy_password_generator/password_generator.py --mode 15
```
```
Generated password: #Cxn8S$G8q&PrGF*9F$}(UDd
Entropy: 152.16 bits
```

**Mode 16: All character types, no ambiguous characters (length 32)**
```bash
python3 entropy_password_generator/password_generator.py --mode 16
```
```
Generated password: @MXFzQ^6-cm\G=>{>Mm,-ZCZ#%XvB{vS
Entropy: 202.88 bits
```

**Mode 17: All character types, no ambiguous characters (length 42)**
```bash
python3 entropy_password_generator/password_generator.py --mode 17
```
```
Generated password: %-NeH2q7@mq<9C_uJ{jPv;qQ59Z8)D=sEpYgQ6wj}4
Entropy: 266.27 bits
```

**Mode 18: All character types, no ambiguous characters (length 60)**
```bash
python3 entropy_password_generator/password_generator.py --mode 18
```
```
Generated password: P<2qmg?sj~3M2}CFQvJU>G%7[>mM<@,fGS58*&U2-2*.WS+fC(u2ret*t~we
Entropy: 380.39 bits
```

**Mode 19: All character types, no ambiguous characters (length 75)**
```bash
python3 entropy_password_generator/password_generator.py --mode 19
```
```
Generated password: _GN6YxM8,4xw:;@g2*_hkW&~n4XA%:,(X=s~U;G)r@<_9NfYXVtJZar9N%ZCTM=+}h!USG>JN#K
Entropy: 475.49 bits
```

**Mode 20: All character types, no ambiguous characters (length 128)**
```bash
python3 entropy_password_generator/password_generator.py --mode 20
```
```
Generated password: _N$q6xm,jE2Yt=7P{GAg?XS6~-RMn=]T}~?Qt_;k)5eW[k?UZH^6$Su*a7ARaNyj)X>^*FVtMw7;t\yNK.^_@DZpQ\\K,B}qKRZ}3&}Tp&QP^H>M]<4Fb(*Wn7%U42t%
Entropy: 811.50 bits
```

---

## ๐ŸŽจ Block III (Using Custom Configuration)
Combine CLI options to create passwords tailored to specific needs. Here you can set the password length between 15-128 characters. Below are examples for common scenarios, ensuring a balance between security and usability:

**Wi-Fi Password (15 chars, all types, with ambiguous)** 
```bash
python3 entropy_password_generator/password_generator.py --length 15 --with-ambiguous
```
```
Generated password: P#Zm+e;7Lv{iI9W
Entropy: 97.62 bits
```

**Cloud Storage Services (32 chars, all types, no ambiguous)**
```bash
python3 entropy_password_generator/password_generator.py --length 32
```
```
Generated password: g%63AF(D42}SCB[FpJ2XjC79q64;SE6j
Entropy: 202.88 bits
```

**Simple Readable Password (15 chars, lowercase + digits, no ambiguous)**
```bash
python3 entropy_password_generator/password_generator.py --length 15 --no-uppercase --no-special
```
```
Generated password: 49j68nquq4ng2nm
Entropy: 74.31 bits (Warning: Below Protonยฉ standard)
```
> **Note**: Warning: Password entropy (74.31 bits) is below the recommended 75 bits (Protonยฉ standard). To improve security, increase the password length (e.g., use --length 24 or higher) and include more character types (e.g., use uppercase, lowercase, digits, and special characters).

**API Token (24 chars, uppercase + digits + special, with ambiguous)**
```bash
python3 entropy_password_generator/password_generator.py --length 24 --no-lowercase --with-ambiguous
```
```
Generated password: ::VM(IR[T;C!D>6MDASD&X-Z
Entropy: 144.54 bits
```

**Cryptographic Key (128 chars, all types, with ambiguous)**
```bash
python3 entropy_password_generator/password_generator.py --length 128 --with-ambiguous
```
```
Generated password: Yoj|F6j~A8SJ%izZ|)#mhi6`oR~75|.;*$9xS7GIF8R[UE1?,OQD7ak\Nf-MKJx]a6nbf3A*SQXlq{xNeWGIs&;}N.G;6ldKoEZS)nTWht68A^3vz;9JpFol[-OQ`1Y^
Entropy: 833.00 bits
```

Explore these options to create passwords tailored to your specific requirements, ensuring optimal security.

---

# ๐Ÿ’ก Suggestions for Password Types
The table below suggests six of the strongest password **`modes`** for daily use, covering a range of online services:

| Mode (Entropy) | Recommended Service |
|----------------|---------------------|
| `Mode 8 (151.16 bits)` | High-security website logins (e.g., cloud storage, VPNs) |
| `Mode 9 (144.54 bits)` | Database or API access (e.g., developer tools, server management) |
| `Mode 10 (144.54 bits)` | Secure file encryption (e.g., encrypted backups, sensitive documents) |
| `Mode 15 (152.16 bits)` | Enterprise accounts (e.g., corporate email, project management tools) |
| `Mode 19 (475.49 bits)` | Password manager master keys (e.g., Bitwarden, 1Password) |
| `Mode 20 (811.50 bits)` | Cryptographic keys (e.g., blockchain wallets, SSH keys) |

These modes ensure robust protection for critical accounts, balancing entropy and usability.

---

# ๐Ÿ“ฆ Install in simulated environment

## ๐Ÿ› ๏ธ Installation Options for use in virtual environments on Test PyPI and PyPI (Stable Version) on Kali Linux. 

### ๐Ÿ“ Overview

The `entropy-password-generator` package can be installed from PyPI (Stable Version) or Test PyPI (Development Version) using a virtual environment. The automated installation scripts have been tested and confirmed to work successfully on **Parrot OS**. On **Kali Linux**, due to system-specific configurations, the automated scripts may encounter issues. For successful installation on Kali Linux, use the simplified manual installation steps provided below.

### ๐Ÿ“ฆ Stable Version Installation (PyPI)

To install the stable version from PyPI on Kali Linux, execute the following commands step-by-step:

```bash
python3 -m venv venv-stablepypi
source venv-stablepypi/bin/activate
python -m ensurepip --upgrade
pip install --upgrade pip
pip install entropy-password-generator
pip list
```

### ๐Ÿงช Development Version Installation (Test PyPI)

To install the development version from Test PyPI on Kali Linux, execute the following commands step-by-step:

```bash
python3 -m venv venv-testpypi
source venv-testpypi/bin/activate
python -m ensurepip --upgrade
pip install --upgrade pip
pip install -i https://test.pypi.org/simple/ --trusted-host test.pypi.org entropy-password-generator
pip list
```

### ๐Ÿ“‹ Notes
- These manual steps ensure the creation of a virtual environment, activation, and installation of the package from either PyPI or Test PyPI without errors.
- For exclusive software deals and tools for developers, check out [Dealsbe - Exclusive Software Deals for Developers and Startups](https://dealsbe.com).
- For further assistance or troubleshooting, please refer to the project documentation or contact the support team.

---

## ๐Ÿ› ๏ธ Installation Options for use in virtual environments on Test PyPI and PyPI (Stable Version) on Parrot OS. 

### ๐Ÿ“ Overview
To avoid conflicts with the system, install it in a virtual environment, such as Kali Linux and/or Parrot. 
The **EntroPy Password Generator** can be installed from the Python Package Index (PyPI) for the stable release or from the Test Python Package Index (Test PyPI) to test the latest development version. Follow the instructions below based on your needs.

### ๐Ÿ”ง Installation from PyPI (Stable Version)
To install the latest stable version of the EntroPy Password Generator (version 0.6.4) from PyPI, run the following command:

```bash
#!/bin/bash

# Exit immediately if any command fails
set -e

echo "๐Ÿ”ง Creating virtual environment: venv-stablepypi..."
python3 -m venv venv-stablepypi

echo "โœ… Virtual environment created successfully."

echo "โš™๏ธ Activating virtual environment..."
source venv-stablepypi/bin/activate

echo "๐Ÿ”„ Ensuring pip is available in the environment..."
python -m ensurepip --upgrade

echo "โฌ†๏ธ Upgrading pip to the latest version..."
pip install --upgrade pip

echo "๐Ÿ“ฆ Installing the entropy-password-generator package from PyPI..."
pip install entropy-password-generator

echo "๐Ÿ“‹ Listing installed packages:"
pip list

echo "๐Ÿš€ Installation completed successfully!"
```

This command installs the package globally or in your active Python environment. After installation, you can run the generator using the following commands:

Generate a custom length password of 15 ambiguous characters: 
```bash
entropy-password-generator --length 15 --with-ambiguous
```

or

Generate a password with default mode 20: 
```bash
entropy-password-generator --mode 20
```

When finished, deactivate the virtual environment.:
   ```bash
   deactivate
   ```

Visit the [PyPI project page](https://pypi.org/project/entropy-password-generator/) for additional details about the stable release.

### ๐Ÿ”ง Installation from Test PyPI (Development Version)
To test the latest development version of the EntroPy Password Generator, install it from the Test Python Package Index (Test PyPI):

```bash
#!/bin/bash

# Exit immediately if any command fails
set -e

echo "๐Ÿ”ง Creating virtual environment: venv-testpypi..."
python3 -m venv venv-testpypi

echo "โœ… Virtual environment created successfully."

echo "โš™๏ธ Activating virtual environment..."
source venv-testpypi/bin/activate

echo "๐Ÿ”„ Ensuring pip is available in the environment..."
python -m ensurepip --upgrade

echo "โฌ†๏ธ Upgrading pip to the latest version..."
pip install --upgrade pip

echo "๐Ÿ“ฆ Installing the entropy-password-generator package from Test PyPI..."
pip install -i https://test.pypi.org/simple/ --trusted-host test.pypi.org entropy-password-generator

echo "๐Ÿ“‹ Listing installed packages:"
pip list

echo "๐Ÿš€ Installation completed successfully!"
```

This command installs the package globally or in your active Python environment. After installation, you can run the generator using the following commands:

Generate a custom length password of 42 ambiguous characters: 
```bash
entropy-password-generator --length 42 --with-ambiguous
```

or

Generate a password with default mode 11: 
```bash
entropy-password-generator --mode 11
```

When finished, deactivate the virtual environment.:
   ```bash
   deactivate
   ```

Visit the [Test PyPI project page](https://test.pypi.org/project/entropy-password-generator/) for additional details about the development version.

> **Note:** the execution of the `--mode` and `--length` scripts, as demonstrated in the previous options such as: `entropy-password-generator --mode 11` and `entropy-password-generator --length 42 --with-ambiguous`, are specific for use in the active virtual environment. Do not use > > them after cloning the repository via CLI directly without the active virtual environment, if you use them you will receive an error message such as: `entropy-password-generator: command not found`.
> 
> To use the `--mode` and `--length` scripts used via CLI directly after cloning the repository without activating the virtual environment,
> use the scripts such as: `python3 entropy_password_generator/password_generator.py --mode 11` (mode 1 to 20) and custom mode `python3 entropy_password_generator/password_generator.py --length 42 --with-ambiguous` (using custom 15 to 128 characters).  

---

# ๐Ÿ–ฅ๏ธ Getting Started on Windows
For Windows users, a dedicated guide is available to help you install and use the **EntroPy Password Generator** via **PowerShell**. 
This step-by-step tutorial covers installation, configuration, and password generation with clear examples tailored for the Windows environment, including detailed instructions for setting up Git and running the generator. 
Check out the [**GETTING_STARTED_WINDOWS.md**](https://github.com/gerivanc/entropy-password-generator/blob/main/GETTING_STARTED_WINDOWS.md) for comprehensive guidance.

---

# ๐Ÿ“Š Password Entropy Calculation

> **Secure by Design**  
> With Python's `secrets` module, the EntroPy Password Generator ensures cryptographically secure randomization, delivering passwords that exceed Protonยฉ (75 bits) and NIST (80+ bits) entropy standards.

The generator calculates password entropy using the formula: \( E(R) = \log_2(R^L) \), where:
- \( R \): Size of the character set.
- \( L \): Password length.
- \( E(R) \): Entropy in bits (higher is stronger).

**All 20 modes produce passwords with entropies from 95.70 to 830.98 bits**, surpassing Protonยฉ (75 bits) and NIST (80+ bits) standards. For example:
- Mode 11 (15 chars, full no ambiguous, \( R=90 \)): \( \log_2(90) \times 15 \approx 95.70 \) bits.
- Mode 20 (128 chars, full no ambiguous, \( R=90 \)): \( \log_2(90) \times 128 \approx 830.98 \) bits.

**Using custom configuration, modes produce passwords with entropies from 97.62 to 833.00 bits**, surpassing Protonยฉ (75 bits) and NIST (80+ bits) standards. For example:
- Using `--length 15 --with-ambiguous` (15 chars, all types, with ambiguous, ( R=90 )): ( \log_2(90) \times 15 \approx 97.62 ) bits.
- Using `--length 128 --with-ambiguous` (128 chars, all types, with ambiguous, ( R=90 )): ( \log_2(90) \times 128 \approx 833.00 ) bits.

> **Note**: Entropy values assume ideal randomness, achieved via the `secrets` module. The requirement of at least one character per selected type slightly reduces effective entropy for shorter passwords, but all modes remain compliant with security standards.

For a detailed analysis, including entropy for each mode and comparisons with mobile authentication methods, see [Password Entropy Calculation](https://github.com/gerivanc/entropy-password-generator/blob/main/PASSWORDENTROPYCALCULATION.md).

---

# ๐Ÿ› ๏ธ Development

To contribute to the **EntroPy Password Generator**, follow the guidelines in [CONTRIBUTING.md](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md). Set up a development environment with:
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install flake8 black isort pytest
```

---

# ๐Ÿ“ข Reporting Issues

Help us improve EntroPy Password Generator by reporting bugs or suggesting enhancements to project. 
To report a bug, suggest a feature, or ask a question:
1. Go to the [Issues tab](https://github.com/gerivanc/entropy-password-generator/issues).

2. Click **New issue**.

3. View the available options and select to: **Report Bug** and/or [**Report Issue**](https://github.com/gerivanc/entropy-password-generator/blob/main/.github/ISSUE_TEMPLATE/issue_template.md). For security vulnerabilities, please follow our [Security Policy](https://github.com/gerivanc/entropy-password-generator/blob/main/SECURITY.md).

---

# ๐Ÿž Reporting Bugs

If you encounter a bug in the **EntroPy Password Generator**, please report it using our dedicated [Bug Report template](https://github.com/gerivanc/entropy-password-generator/blob/main/.github/ISSUE_TEMPLATE/bug_report.md). This template ensures that your report includes essential details, such as steps to reproduce, environment information, and logs, enabling us to address issues efficiently. For other types of contributions or inquiries, refer to our [CONTRIBUTING.md](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md).

---

# ๐Ÿ›ก๏ธ Security - Reporting a Vulnerability 
If you discover a security vulnerability in EntroPy Password Generator, please report it immediately to ensure the safety of all users. See the [Security](https://github.com/gerivanc/entropy-password-generator/blob/main/SECURITY.md) for more details.

---

# ๐Ÿค Contributing
Want to contribute? Check out our [Contributing Guidelines](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md) to get started!

---

# ๐Ÿ“ Release Notes
See the [RELEASE.md](https://github.com/gerivanc/entropy-password-generator/blob/main/RELEASE.md) for detailed release notes for each version.

---

# ๐Ÿ“… Changelog
See the [Changelog](https://github.com/gerivanc/entropy-password-generator/blob/main/CHANGELOG.md) for a detailed history of changes to this project.

---

# โค๏ธ Support This Project
If you find EntroPy Password Generator useful, consider supporting its development with a donation:

[<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" alt="Donate with PayPal">](https://www.paypal.com/ncp/payment/FYUGSCLQRSQDN)

---

# ๐Ÿ“ง Contact
For questions or feedback, please contact: dean-grumbly-plop@duck.com.

---

# ๐Ÿ“„ License
This project is licensed under the MIT License. See the [License](https://github.com/gerivanc/entropy-password-generator/blob/main/LICENSE.md) for details.

---

#### Copyright ยฉ 2025 Gerivan Costa dos Santos

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "entropy-password-generator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "cryptography, entropy, generator, password, password-manager, security",
    "author": null,
    "author_email": "Gerivan Costa dos Santos <dean-grumbly-plop@duck.com>",
    "download_url": "https://files.pythonhosted.org/packages/b9/da/3b88e4bfdc157dbdfb188039cf3ce27b7f70d74385ad098043d170820e21/entropy_password_generator-0.6.4.tar.gz",
    "platform": null,
    "description": "![EntroPy Password Generator - A secure and customizable password generator\nwritten in Python](https://drive.google.com/uc?export=download&id=19T8p_jzaaWGx9RS0sQlW7p6vG-9Hk4K0)\n\n---\n\n# EntroPy Password Generator - A secure and customizable password generator written in Python (v0.6.4)\n\n<div align=\"center\">\n  <img alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-FFC107?style=flat&logo=mit&logoColor=white\" />\n  <img alt=\"Made with Python\" src=\"https://img.shields.io/badge/Made%20with-Python-3572A5?style=flat&logo=python&logoColor=white\" />\n  <img alt=\"Entropy Compliant\" src=\"https://img.shields.io/badge/Entropy%20Compliant-Proton%20%26%20NIST-239120?style=flat&logo=security&logoColor=white\" />\n  <img alt=\"Maintained\" src=\"https://img.shields.io/badge/Maintained-Yes%202025-4fc08d?style=flat&logo=maintenance&logoColor=white\" />\n  <img alt=\"GitHub Actions Status\" src=\"https://img.shields.io/github/actions/workflow/status/gerivanc/entropy-password-generator/python-app.yml?style=flat&logo=github&logoColor=white\" />\n  <a href=\"https://test.pypi.org/project/entropy-password-generator/\"><img alt=\"Test PyPI Project\" src=\"https://img.shields.io/badge/Project-Test%20PyPI-0078D4?style=flat&logo=pypi&logoColor=white\" /></a>\n  <a href=\"https://pypi.org/project/entropy-password-generator/\"><img alt=\"PyPI Project\" src=\"https://img.shields.io/badge/Project-PyPI-0078D4?style=flat&logo=pypi&logoColor=white\" /></a>\n</div>\n\n**EntroPy Password Generator** is a secure and customizable password generator developed in Python, enabling users to generate strong passwords on both Linux and Windows systems. It creates robust passwords with configurable character sets and calculates their entropy to evaluate strength. The project provides 20+ modes for secure password generation, ranging from 15 to 128 characters, with entropies between 97.62 bits and 833.00 bits, exceeding the [Proton\u00a9](https://proton.me/blog/what-is-password-entropy) recommended minimum of 75 bits and the cryptographic strength best practices outlined in [NIST SP 800-63B](https://pages.nist.gov/800-63-3/sp800-63b.html) and [NIST SP 800-132](https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf).\n\n---\n\n## \ud83d\udcda Table of Contents\n- [\ud83d\udcdc Disclaimer](#-disclaimer)\n- [\u2728 Features](#-features)\n- [\ud83d\udccb Requirements](#-requirements)\n- [\ud83d\udd12 Password Modes](#-password-modes)\n- [\ud83d\udcbe Installation](#-installation)\n- [\ud83d\udee0 Command Line Interface](#-command-line-interface)\n- [\ud83d\udcf8 Screenshots](#-screenshots)\n- [\u2699\ufe0f Using Predefined Modes](#\ufe0f-using-predefined-modes)\n- [\ud83d\udca1Suggestions for Password Types](#-suggestions-for-password-types)\n- [\ud83d\udce6 Install in simulated environment](#-install-in-simulated-environment)\n- [\ud83d\udda5\ufe0f Getting Started on Windows](#\ufe0f-getting-started-on-windows)\n- [\ud83d\udcca Password Entropy Calculation](#-password-entropy-calculation)\n- [\ud83d\udee0\ufe0f Development](#\ufe0f-development)\n- [\ud83d\udce2 Reporting Issues](#-reporting-issues)\n- [\ud83d\udc1e Reporting Bugs](#-reporting-bugs)\n- [\ud83d\udee1\ufe0f Security - Reporting a Vulnerability](#\ufe0f-security---reporting-a-vulnerability)\n- [\ud83e\udd1d Contributing](#-contributing)\n- [\ud83d\udcdd Release Notes](#-release-notes)\n- [\ud83d\udcc5 Changelog](#-changelog)\n- [\u2764\ufe0f Support This Project](#\ufe0f-support-this-project)\n- [\ud83d\udce7 Contact](#-contact)\n- [\ud83d\udcc4 License](#-license)\n\n---\n\n# \ud83d\udcdc Disclaimer\nDo not attempt to memorize the passwords generated by this tool. Instead, use a reliable password manager, such as [Bitwarden\u00a9](https://bitwarden.com/), which I personally recommend. The only password you should memorize is the master password for your password manager's vault, created with a strong combination of uppercase and lowercase letters, numbers, and special characters. Enable two-factor authentication (2FA) whenever possible to enhance security. A great option for managing your 2FA is Ente Auth , a free, open-source, and cross-platform app that provides end-to-end encrypted backups. [Ente Auth](https://ente.io/auth/) ensures your 2FA codes are secure and synced across devices, with externally audited encryption, offering robust protection for all your accounts that support 2FA.\n\n---\n\n# \u2728 Features\n- Generates passwords with lengths between **15 and 128 characters**.\n- Supports uppercase letters (A-Z), lowercase letters (a-z), digits (0-9), and special characters (!@#$%^&*()_+-=[]{}|;:,.<>?~\\\\).\n- Option to exclude visually ambiguous characters (e.g., 'I', 'L', 'O', '0') for better readability.\n- Calculates password entropy (in bits) to evaluate strength.\n- Displays a warning if the generated password's entropy is below 75 bits (Proton\u00a9 standard), with suggestions to improve security.\n- Command-line interface (CLI) for flexible usage.\n- Uses Python's `secrets` module for cryptographically secure random generation.\n\n---\n\n# \ud83d\udccb Requirements\n- Python 3.8 or higher.\n- No external dependencies (uses only standard Python libraries: `secrets`, `string`, `math`, `argparse`).\n\n---\n\n# \ud83d\udd12 Password Modes\nThe generator offers 20+ modes for secure password generation, divided into three blocks:\n\n- **Block I (Modes 1\u201310):** Fixed length of 24 characters, including ambiguous characters (e.g., 'I', 'O', '0'), with varying character sets to balance readability and security. Ideal for general-purpose passwords, such as website logins or application credentials.\n- **Block II (Modes 11\u201320):** Varying lengths (15 to 128 characters), mostly excluding ambiguous characters for enhanced readability. These modes cater to sensitive applications, from personal accounts to cryptographic keys and enterprise-grade security.\n- **Block III (Using Custom Configuration):** Custom passwords with lengths between 15 and 128 characters, specified using the --length option followed by the desired length (15-128), including ambiguous characters. \nThese passwords achieve entropies ranging from 97.62 to 833.00 bits, making them suitable for a wide range of applications, from personal use to high-security environments requiring robust cryptographic strength.\n\n## Password Modes Summary\nThe table below summarizes the 20 password generation modes, ordered by increasing entropy, highlighting their configurations, character set sizes (\\( R \\)), and recommended use cases:\n\n| Mode | Length | Character Set | R (Charset Size) | Entropy (bits) | Security Level | Use Case |\n|------|--------|---------------|------------------|----------------|----------------|----------|\n| 11 | 15 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 95 | 95.10 | Strong | Personal accounts (email, social media) |\n| 13 | 20 | Lowercase + Digits (no ambiguous) | 36 | 99.08 | Strong | Basic application logins |\n| 14 | 20 | Uppercase + Digits (no ambiguous) | 36 | 99.08 | Strong | Device authentication |\n| 12 | 18 | Full (uppercase, lowercase, digits, symbols, with ambiguous) | 95 | 117.14 | Very Strong | Professional accounts (work email, VPN) |\n| 4 | 24 | Uppercase + Digits (with ambiguous) | 36 | 124.08 | Very Strong | Legacy systems requiring uppercase |\n| 5 | 24 | Lowercase + Digits (with ambiguous) | 36 | 124.08 | Very Strong | Readable passwords for manual entry |\n| 6 | 24 | Digits + Special (with ambiguous) | 43 | 126.85 | Very Strong | API tokens with limited character sets |\n| 3 | 24 | Uppercase + Lowercase (with ambiguous) | 52 | 136.81 | Very Strong | General-purpose website logins |\n| 1 | 24 | Lowercase + Special (with ambiguous) | 59 | 138.75 | Very Strong | Secure notes or backup codes |\n| 2 | 24 | Uppercase + Special (with ambiguous) | 59 | 138.75 | Very Strong | Administrative console access |\n| 7 | 24 | Uppercase + Lowercase + Digits (with ambiguous) | 62 | 142.90 | Very Strong | Multi-user system credentials |\n| 9 | 24 | Uppercase + Digits + Special (with ambiguous) | 69 | 144.54 | Very Strong | Database access keys |\n| 10 | 24 | Lowercase + Digits + Special (with ambiguous) | 69 | 144.54 | Very Strong | Secure file encryption |\n| 8 | 24 | Uppercase + Lowercase + Special (with ambiguous) | 85 | 151.16 | Extremely Strong | High-security application logins |\n| 15 | 24 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 152.16 | Extremely Strong | Enterprise-grade passwords |\n| 16 | 32 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 202.88 | Cryptographic Grade | API keys for sensitive services |\n| 17 | 42 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 266.27 | Cryptographic Grade | Server authentication tokens |\n| 18 | 60 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 380.39 | Ultra Secure | Financial system credentials |\n| 19 | 75 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 475.49 | Ultra Secure | Master keys for password managers |\n| 20 | 128 | Full (uppercase, lowercase, digits, symbols, no ambiguous) | 94 | 811.50 | Ultra Secure (Theoretical Maximum) | Cryptographic keys, blockchain wallets |\n\n> **Note**: **Search Space Depth** defines the variety of characters in a password, influencing its resistance to brute-force attacks. Expanding it with letters, numbers, and symbols increases possible combinations, making the password harder to crack. **Entropy** reaches theoretical maximum values under uniform random selection, but requiring at least one character per type slightly reduces effective entropy in shorter passwords. This reduction is negligible, and all modes exceed Proton\u00a9 and NIST standards.\n\n---\n\n# \ud83d\udcbe Installation \n1. Ensure you have Python 3.8 or higher installed.\n2. Clone the repository:\n   ```bash\n   git clone https://github.com/gerivanc/entropy-password-generator.git\n   cd entropy-password-generator\n   ```\n3. No additional dependencies are required, as the project uses only Python standard libraries.\n\n---\n\n# \ud83d\udee0 Command Line Interface\n- `--mode <number>`: Select a predefined password generation mode (1 to 20). Overrides other configuration options.\n- `--length <length>`: Set password length (15 to 128, default: 72). Ignored if `--mode` is specified.\n- `--no-uppercase`: Exclude uppercase letters. Ignored if `--mode` is specified.\n- `--no-lowercase`: Exclude lowercase letters. Ignored if `--mode` is specified.\n- `--no-digits`: Exclude digits. Ignored if `--mode` is specified.\n- `--no-special`: Exclude special characters. Ignored if `--mode` is specified.\n- `--with-ambiguous`: Include ambiguous characters. Ignored if `--mode` is specified.\n\n---\n\n## \ud83e\uddea Usage\nRun the generator from the command line interface, specifying a custom mode or configuration. After installing from Test PyPI in the virtual environment or locally, use:\n\nMode 1 to 20.\n```bash\nentropy-password-generator --mode <number>\n```\n\nelse\n\nUsing Custom Configuration, (15-128 characters, all types, with ambiguous)\n```bash\nentropy-password-generator --length <number> --with-ambiguous\n```\n\nAlternatively, run directly from the repository:\n\nMode 1 to 20.\n```bash\npython3 entropy_password_generator/password_generator.py --mode <number>\n```\n\nelse\n\nUsing Custom Configuration, (15-128 characters, all types, with ambiguous)\n```bash\npython3 entropy_password_generator/password_generator.py --length <number> \n```\n\n---\n\n## \ud83d\udcf8 Screenshots\n\n### Below is an example of the CLI output for **Mode 11** `--mode 11`:\n\n![Mode 11 Output](https://drive.google.com/uc?export=download&id=1ZlTtph8U6nlWscN4I0MaXPNiZR0IiT4V)\n\n> *Note*: Screenshot using the command: `python3 entropy_password_generator/password_generator.py --mode 11`. Demonstration image of the output result of the function.\n\n### Below is an example of the CLI output for  **--length** `--length 15 --with-ambiguous`:\n\n![--length 15 Output](https://drive.google.com/uc?export=download&id=1PIe4WGdyGwV1g5t18F7JQFYBQctfpoxO)\n\n> *Note*: Screenshot using the command: `python3 entropy_password_generator/password_generator.py --length 15 --with-ambiguous`. Demonstration image of the output result of the function.\n\n---\n\n# \u2699\ufe0f Using Predefined Modes\n\nThe generator offers over 20+ modes for secure password generation, divided into three blocks. Below are examples of each of the 20+ predefined modes, showing their settings and entropy:\n\n## \ud83e\udde9 Block I (All with ambiguous characters, length 24)\n**Mode 1: Lowercase + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 1\n```\n```\nGenerated password: &\\]*y>fhqs*e<.+fl=~ijy-i\nEntropy: 138.75 bits\n```\n\n**Mode 2: Uppercase + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 2\n```\n```\nGenerated password: JRYAHHASE[|&`M`B)!!EQ$RD\nEntropy: 138.75 bits\n```\n\n**Mode 3: Uppercase + Lowercase**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 3\n```\n```\nGenerated password: CWdoNFcWbvwbEOItFvAdcLmo\nEntropy: 136.81 bits\n```\n\n**Mode 4: Uppercase + Digits**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 4\n```\n```\nGenerated password: 13P994RI91LP9UY7WRINH6TQ\nEntropy: 124.08 bits\n```\n\n**Mode 5: Lowercase + Digits**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 5\n```\n```\nGenerated password: opzqnqb52amopnbfyduo74dl\nEntropy: 124.08 bits\n```\n\n**Mode 6: Digits + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 6\n```\n```\nGenerated password: :\\\\{%27!3)[_~35%@!`\\\\],#\nEntropy: 126.85 bits\n```\n\n**Mode 7: Uppercase + Lowercase + Digits**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 7\n```\n```\nGenerated password: YMuUq6P0U6CPtoeuuqDZ7Kku\nEntropy: 142.90 bits\n```\n\n**Mode 8: Uppercase + Lowercase + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 8\n```\n```\nGenerated password: NmP<ToUHnm*:m\\u:Rhspj=:w\nEntropy: 151.16 bits\n```\n\n**Mode 9: Uppercase + Digits + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 9\n```\n```\nGenerated password: 0O*>@T,W&Z<99?U%MW1}XPP5\nEntropy: 144.54 bits\n```\n\n**Mode 10: Lowercase + Digits + Special characters**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 10\n```\n```\nGenerated password: =7~@]pv@%>al=@ibp?+}j0d#\nEntropy: 144.54 bits\n```\n\n---\n\n## \ud83c\udf00 Block II (Mixed configurations)\n**Mode 11: All character types, no ambiguous characters (length 15)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 11\n```\n```\nGenerated password: ?*WjM\\MR-.JkQr5\nEntropy: 95.10 bits\n```\n\n**Mode 12: All character types, with ambiguous characters (length 18)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 12\n```\n```\nGenerated password: \\?2lcM]Kb^m]a:LD)L\nEntropy: 117.14 bits\n```\n\n**Mode 13: Lowercase + Digits, no ambiguous characters (length 20)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 13\n```\n```\nGenerated password: 9mfe5vcjv9trnf9xg58k\nEntropy: 99.08 bits\n```\n\n**Mode 14: Uppercase + Digits, no ambiguous characters (length 20)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 14\n```\n```\nGenerated password: SS54DGAYSSK3XJ4ACUTD\nEntropy: 99.08 bits\n```\n\n**Mode 15: All character types, no ambiguous characters (length 24)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 15\n```\n```\nGenerated password: #Cxn8S$G8q&PrGF*9F$}(UDd\nEntropy: 152.16 bits\n```\n\n**Mode 16: All character types, no ambiguous characters (length 32)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 16\n```\n```\nGenerated password: @MXFzQ^6-cm\\G=>{>Mm,-ZCZ#%XvB{vS\nEntropy: 202.88 bits\n```\n\n**Mode 17: All character types, no ambiguous characters (length 42)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 17\n```\n```\nGenerated password: %-NeH2q7@mq<9C_uJ{jPv;qQ59Z8)D=sEpYgQ6wj}4\nEntropy: 266.27 bits\n```\n\n**Mode 18: All character types, no ambiguous characters (length 60)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 18\n```\n```\nGenerated password: P<2qmg?sj~3M2}CFQvJU>G%7[>mM<@,fGS58*&U2-2*.WS+fC(u2ret*t~we\nEntropy: 380.39 bits\n```\n\n**Mode 19: All character types, no ambiguous characters (length 75)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 19\n```\n```\nGenerated password: _GN6YxM8,4xw:;@g2*_hkW&~n4XA%:,(X=s~U;G)r@<_9NfYXVtJZar9N%ZCTM=+}h!USG>JN#K\nEntropy: 475.49 bits\n```\n\n**Mode 20: All character types, no ambiguous characters (length 128)**\n```bash\npython3 entropy_password_generator/password_generator.py --mode 20\n```\n```\nGenerated password: _N$q6xm,jE2Yt=7P{GAg?XS6~-RMn=]T}~?Qt_;k)5eW[k?UZH^6$Su*a7ARaNyj)X>^*FVtMw7;t\\yNK.^_@DZpQ\\\\K,B}qKRZ}3&}Tp&QP^H>M]<4Fb(*Wn7%U42t%\nEntropy: 811.50 bits\n```\n\n---\n\n## \ud83c\udfa8 Block III (Using Custom Configuration)\nCombine CLI options to create passwords tailored to specific needs. Here you can set the password length between 15-128 characters. Below are examples for common scenarios, ensuring a balance between security and usability:\n\n**Wi-Fi Password (15 chars, all types, with ambiguous)** \n```bash\npython3 entropy_password_generator/password_generator.py --length 15 --with-ambiguous\n```\n```\nGenerated password: P#Zm+e;7Lv{iI9W\nEntropy: 97.62 bits\n```\n\n**Cloud Storage Services (32 chars, all types, no ambiguous)**\n```bash\npython3 entropy_password_generator/password_generator.py --length 32\n```\n```\nGenerated password: g%63AF(D42}SCB[FpJ2XjC79q64;SE6j\nEntropy: 202.88 bits\n```\n\n**Simple Readable Password (15 chars, lowercase + digits, no ambiguous)**\n```bash\npython3 entropy_password_generator/password_generator.py --length 15 --no-uppercase --no-special\n```\n```\nGenerated password: 49j68nquq4ng2nm\nEntropy: 74.31 bits (Warning: Below Proton\u00a9 standard)\n```\n> **Note**: Warning: Password entropy (74.31 bits) is below the recommended 75 bits (Proton\u00a9 standard). To improve security, increase the password length (e.g., use --length 24 or higher) and include more character types (e.g., use uppercase, lowercase, digits, and special characters).\n\n**API Token (24 chars, uppercase + digits + special, with ambiguous)**\n```bash\npython3 entropy_password_generator/password_generator.py --length 24 --no-lowercase --with-ambiguous\n```\n```\nGenerated password: ::VM(IR[T;C!D>6MDASD&X-Z\nEntropy: 144.54 bits\n```\n\n**Cryptographic Key (128 chars, all types, with ambiguous)**\n```bash\npython3 entropy_password_generator/password_generator.py --length 128 --with-ambiguous\n```\n```\nGenerated password: Yoj|F6j~A8SJ%izZ|)#mhi6`oR~75|.;*$9xS7GIF8R[UE1?,OQD7ak\\Nf-MKJx]a6nbf3A*SQXlq{xNeWGIs&;}N.G;6ldKoEZS)nTWht68A^3vz;9JpFol[-OQ`1Y^\nEntropy: 833.00 bits\n```\n\nExplore these options to create passwords tailored to your specific requirements, ensuring optimal security.\n\n---\n\n# \ud83d\udca1 Suggestions for Password Types\nThe table below suggests six of the strongest password **`modes`** for daily use, covering a range of online services:\n\n| Mode (Entropy) | Recommended Service |\n|----------------|---------------------|\n| `Mode 8 (151.16 bits)` | High-security website logins (e.g., cloud storage, VPNs) |\n| `Mode 9 (144.54 bits)` | Database or API access (e.g., developer tools, server management) |\n| `Mode 10 (144.54 bits)` | Secure file encryption (e.g., encrypted backups, sensitive documents) |\n| `Mode 15 (152.16 bits)` | Enterprise accounts (e.g., corporate email, project management tools) |\n| `Mode 19 (475.49 bits)` | Password manager master keys (e.g., Bitwarden, 1Password) |\n| `Mode 20 (811.50 bits)` | Cryptographic keys (e.g., blockchain wallets, SSH keys) |\n\nThese modes ensure robust protection for critical accounts, balancing entropy and usability.\n\n---\n\n# \ud83d\udce6 Install in simulated environment\n\n## \ud83d\udee0\ufe0f Installation Options for use in virtual environments on Test PyPI and PyPI (Stable Version) on Kali Linux. \n\n### \ud83d\udcdd Overview\n\nThe `entropy-password-generator` package can be installed from PyPI (Stable Version) or Test PyPI (Development Version) using a virtual environment. The automated installation scripts have been tested and confirmed to work successfully on **Parrot OS**. On **Kali Linux**, due to system-specific configurations, the automated scripts may encounter issues. For successful installation on Kali Linux, use the simplified manual installation steps provided below.\n\n### \ud83d\udce6 Stable Version Installation (PyPI)\n\nTo install the stable version from PyPI on Kali Linux, execute the following commands step-by-step:\n\n```bash\npython3 -m venv venv-stablepypi\nsource venv-stablepypi/bin/activate\npython -m ensurepip --upgrade\npip install --upgrade pip\npip install entropy-password-generator\npip list\n```\n\n### \ud83e\uddea Development Version Installation (Test PyPI)\n\nTo install the development version from Test PyPI on Kali Linux, execute the following commands step-by-step:\n\n```bash\npython3 -m venv venv-testpypi\nsource venv-testpypi/bin/activate\npython -m ensurepip --upgrade\npip install --upgrade pip\npip install -i https://test.pypi.org/simple/ --trusted-host test.pypi.org entropy-password-generator\npip list\n```\n\n### \ud83d\udccb Notes\n- These manual steps ensure the creation of a virtual environment, activation, and installation of the package from either PyPI or Test PyPI without errors.\n- For exclusive software deals and tools for developers, check out [Dealsbe - Exclusive Software Deals for Developers and Startups](https://dealsbe.com).\n- For further assistance or troubleshooting, please refer to the project documentation or contact the support team.\n\n---\n\n## \ud83d\udee0\ufe0f Installation Options for use in virtual environments on Test PyPI and PyPI (Stable Version) on Parrot OS. \n\n### \ud83d\udcdd Overview\nTo avoid conflicts with the system, install it in a virtual environment, such as Kali Linux and/or Parrot. \nThe **EntroPy Password Generator** can be installed from the Python Package Index (PyPI) for the stable release or from the Test Python Package Index (Test PyPI) to test the latest development version. Follow the instructions below based on your needs.\n\n### \ud83d\udd27 Installation from PyPI (Stable Version)\nTo install the latest stable version of the EntroPy Password Generator (version 0.6.4) from PyPI, run the following command:\n\n```bash\n#!/bin/bash\n\n# Exit immediately if any command fails\nset -e\n\necho \"\ud83d\udd27 Creating virtual environment: venv-stablepypi...\"\npython3 -m venv venv-stablepypi\n\necho \"\u2705 Virtual environment created successfully.\"\n\necho \"\u2699\ufe0f Activating virtual environment...\"\nsource venv-stablepypi/bin/activate\n\necho \"\ud83d\udd04 Ensuring pip is available in the environment...\"\npython -m ensurepip --upgrade\n\necho \"\u2b06\ufe0f Upgrading pip to the latest version...\"\npip install --upgrade pip\n\necho \"\ud83d\udce6 Installing the entropy-password-generator package from PyPI...\"\npip install entropy-password-generator\n\necho \"\ud83d\udccb Listing installed packages:\"\npip list\n\necho \"\ud83d\ude80 Installation completed successfully!\"\n```\n\nThis command installs the package globally or in your active Python environment. After installation, you can run the generator using the following commands:\n\nGenerate a custom length password of 15 ambiguous characters: \n```bash\nentropy-password-generator --length 15 --with-ambiguous\n```\n\nor\n\nGenerate a password with default mode 20: \n```bash\nentropy-password-generator --mode 20\n```\n\nWhen finished, deactivate the virtual environment.:\n   ```bash\n   deactivate\n   ```\n\nVisit the [PyPI project page](https://pypi.org/project/entropy-password-generator/) for additional details about the stable release.\n\n### \ud83d\udd27 Installation from Test PyPI (Development Version)\nTo test the latest development version of the EntroPy Password Generator, install it from the Test Python Package Index (Test PyPI):\n\n```bash\n#!/bin/bash\n\n# Exit immediately if any command fails\nset -e\n\necho \"\ud83d\udd27 Creating virtual environment: venv-testpypi...\"\npython3 -m venv venv-testpypi\n\necho \"\u2705 Virtual environment created successfully.\"\n\necho \"\u2699\ufe0f Activating virtual environment...\"\nsource venv-testpypi/bin/activate\n\necho \"\ud83d\udd04 Ensuring pip is available in the environment...\"\npython -m ensurepip --upgrade\n\necho \"\u2b06\ufe0f Upgrading pip to the latest version...\"\npip install --upgrade pip\n\necho \"\ud83d\udce6 Installing the entropy-password-generator package from Test PyPI...\"\npip install -i https://test.pypi.org/simple/ --trusted-host test.pypi.org entropy-password-generator\n\necho \"\ud83d\udccb Listing installed packages:\"\npip list\n\necho \"\ud83d\ude80 Installation completed successfully!\"\n```\n\nThis command installs the package globally or in your active Python environment. After installation, you can run the generator using the following commands:\n\nGenerate a custom length password of 42 ambiguous characters: \n```bash\nentropy-password-generator --length 42 --with-ambiguous\n```\n\nor\n\nGenerate a password with default mode 11: \n```bash\nentropy-password-generator --mode 11\n```\n\nWhen finished, deactivate the virtual environment.:\n   ```bash\n   deactivate\n   ```\n\nVisit the [Test PyPI project page](https://test.pypi.org/project/entropy-password-generator/) for additional details about the development version.\n\n> **Note:** the execution of the `--mode` and `--length` scripts, as demonstrated in the previous options such as: `entropy-password-generator --mode 11` and `entropy-password-generator --length 42 --with-ambiguous`, are specific for use in the active virtual environment. Do not use > > them after cloning the repository via CLI directly without the active virtual environment, if you use them you will receive an error message such as: `entropy-password-generator: command not found`.\n> \n> To use the `--mode` and `--length` scripts used via CLI directly after cloning the repository without activating the virtual environment,\n> use the scripts such as: `python3 entropy_password_generator/password_generator.py --mode 11` (mode 1 to 20) and custom mode `python3 entropy_password_generator/password_generator.py --length 42 --with-ambiguous` (using custom 15 to 128 characters).  \n\n---\n\n# \ud83d\udda5\ufe0f Getting Started on Windows\nFor Windows users, a dedicated guide is available to help you install and use the **EntroPy Password Generator** via **PowerShell**. \nThis step-by-step tutorial covers installation, configuration, and password generation with clear examples tailored for the Windows environment, including detailed instructions for setting up Git and running the generator. \nCheck out the [**GETTING_STARTED_WINDOWS.md**](https://github.com/gerivanc/entropy-password-generator/blob/main/GETTING_STARTED_WINDOWS.md) for comprehensive guidance.\n\n---\n\n# \ud83d\udcca Password Entropy Calculation\n\n> **Secure by Design**  \n> With Python's `secrets` module, the EntroPy Password Generator ensures cryptographically secure randomization, delivering passwords that exceed Proton\u00a9 (75 bits) and NIST (80+ bits) entropy standards.\n\nThe generator calculates password entropy using the formula: \\( E(R) = \\log_2(R^L) \\), where:\n- \\( R \\): Size of the character set.\n- \\( L \\): Password length.\n- \\( E(R) \\): Entropy in bits (higher is stronger).\n\n**All 20 modes produce passwords with entropies from 95.70 to 830.98 bits**, surpassing Proton\u00a9 (75 bits) and NIST (80+ bits) standards. For example:\n- Mode 11 (15 chars, full no ambiguous, \\( R=90 \\)): \\( \\log_2(90) \\times 15 \\approx 95.70 \\) bits.\n- Mode 20 (128 chars, full no ambiguous, \\( R=90 \\)): \\( \\log_2(90) \\times 128 \\approx 830.98 \\) bits.\n\n**Using custom configuration, modes produce passwords with entropies from 97.62 to 833.00 bits**, surpassing Proton\u00a9 (75 bits) and NIST (80+ bits) standards. For example:\n- Using `--length 15 --with-ambiguous` (15 chars, all types, with ambiguous, ( R=90 )): ( \\log_2(90) \\times 15 \\approx 97.62 ) bits.\n- Using `--length 128 --with-ambiguous` (128 chars, all types, with ambiguous, ( R=90 )): ( \\log_2(90) \\times 128 \\approx 833.00 ) bits.\n\n> **Note**: Entropy values assume ideal randomness, achieved via the `secrets` module. The requirement of at least one character per selected type slightly reduces effective entropy for shorter passwords, but all modes remain compliant with security standards.\n\nFor a detailed analysis, including entropy for each mode and comparisons with mobile authentication methods, see [Password Entropy Calculation](https://github.com/gerivanc/entropy-password-generator/blob/main/PASSWORDENTROPYCALCULATION.md).\n\n---\n\n# \ud83d\udee0\ufe0f Development\n\nTo contribute to the **EntroPy Password Generator**, follow the guidelines in [CONTRIBUTING.md](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md). Set up a development environment with:\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install flake8 black isort pytest\n```\n\n---\n\n# \ud83d\udce2 Reporting Issues\n\nHelp us improve EntroPy Password Generator by reporting bugs or suggesting enhancements to project. \nTo report a bug, suggest a feature, or ask a question:\n1. Go to the [Issues tab](https://github.com/gerivanc/entropy-password-generator/issues).\n\n2. Click **New issue**.\n\n3. View the available options and select to: **Report Bug** and/or [**Report Issue**](https://github.com/gerivanc/entropy-password-generator/blob/main/.github/ISSUE_TEMPLATE/issue_template.md). For security vulnerabilities, please follow our [Security Policy](https://github.com/gerivanc/entropy-password-generator/blob/main/SECURITY.md).\n\n---\n\n# \ud83d\udc1e Reporting Bugs\n\nIf you encounter a bug in the **EntroPy Password Generator**, please report it using our dedicated [Bug Report template](https://github.com/gerivanc/entropy-password-generator/blob/main/.github/ISSUE_TEMPLATE/bug_report.md). This template ensures that your report includes essential details, such as steps to reproduce, environment information, and logs, enabling us to address issues efficiently. For other types of contributions or inquiries, refer to our [CONTRIBUTING.md](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md).\n\n---\n\n# \ud83d\udee1\ufe0f Security - Reporting a Vulnerability \nIf you discover a security vulnerability in EntroPy Password Generator, please report it immediately to ensure the safety of all users. See the [Security](https://github.com/gerivanc/entropy-password-generator/blob/main/SECURITY.md) for more details.\n\n---\n\n# \ud83e\udd1d Contributing\nWant to contribute? Check out our [Contributing Guidelines](https://github.com/gerivanc/entropy-password-generator/blob/main/CONTRIBUTING.md) to get started!\n\n---\n\n# \ud83d\udcdd Release Notes\nSee the [RELEASE.md](https://github.com/gerivanc/entropy-password-generator/blob/main/RELEASE.md) for detailed release notes for each version.\n\n---\n\n# \ud83d\udcc5 Changelog\nSee the [Changelog](https://github.com/gerivanc/entropy-password-generator/blob/main/CHANGELOG.md) for a detailed history of changes to this project.\n\n---\n\n# \u2764\ufe0f Support This Project\nIf you find EntroPy Password Generator useful, consider supporting its development with a donation:\n\n[<img src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif\" alt=\"Donate with PayPal\">](https://www.paypal.com/ncp/payment/FYUGSCLQRSQDN)\n\n---\n\n# \ud83d\udce7 Contact\nFor questions or feedback, please contact: dean-grumbly-plop@duck.com.\n\n---\n\n# \ud83d\udcc4 License\nThis project is licensed under the MIT License. See the [License](https://github.com/gerivanc/entropy-password-generator/blob/main/LICENSE.md) for details.\n\n---\n\n#### Copyright \u00a9 2025 Gerivan Costa dos Santos\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A secure password generator with high entropy, compliant with Proton and NIST standards",
    "version": "0.6.4",
    "project_urls": {
        "Changelog": "https://github.com/gerivanc/entropy-password-generator/blob/main/CHANGELOG.md",
        "Homepage": "https://github.com/gerivanc/entropy-password-generator",
        "Issues": "https://github.com/gerivanc/entropy-password-generator/issues",
        "Repository": "https://github.com/gerivanc/entropy-password-generator.git"
    },
    "split_keywords": [
        "cryptography",
        " entropy",
        " generator",
        " password",
        " password-manager",
        " security"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a0169407851b17a3f4be46a3794a50c17fe6b3f11fc33d97ae3ae9ccb5582d97",
                "md5": "667cb09aa82a6bd5e953cf4ccec4b313",
                "sha256": "36e83ee85c2e6aae0793e7bff67a527ab493e6488c2bb1f2843c7fd5a7f25628"
            },
            "downloads": -1,
            "filename": "entropy_password_generator-0.6.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "667cb09aa82a6bd5e953cf4ccec4b313",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 726084,
            "upload_time": "2025-08-07T14:24:05",
            "upload_time_iso_8601": "2025-08-07T14:24:05.181259Z",
            "url": "https://files.pythonhosted.org/packages/a0/16/9407851b17a3f4be46a3794a50c17fe6b3f11fc33d97ae3ae9ccb5582d97/entropy_password_generator-0.6.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b9da3b88e4bfdc157dbdfb188039cf3ce27b7f70d74385ad098043d170820e21",
                "md5": "b4076c2f97472764e8c5e2c159dbbf32",
                "sha256": "0ef485986e8113f9aad75927cef6c419af4bbca675d6cded78b416ac9339034d"
            },
            "downloads": -1,
            "filename": "entropy_password_generator-0.6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b4076c2f97472764e8c5e2c159dbbf32",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 758163,
            "upload_time": "2025-08-07T14:24:08",
            "upload_time_iso_8601": "2025-08-07T14:24:08.092488Z",
            "url": "https://files.pythonhosted.org/packages/b9/da/3b88e4bfdc157dbdfb188039cf3ce27b7f70d74385ad098043d170820e21/entropy_password_generator-0.6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-07 14:24:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gerivanc",
    "github_project": "entropy-password-generator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "entropy-password-generator"
}
        
Elapsed time: 1.46187s