DEV Community

neuralmint
neuralmint

Posted on

Password Generator CLI — Secure Passwords & Diceware Passphrases

Password Generator CLI — Secure Passwords & Diceware Passphrases

Generate cryptographically secure passwords and Diceware-style passphrases with entropy scoring. Built for security-conscious users.

Features

  • Random secure passwords (alphanumeric + symbols)
  • Diceware passphrase generation (word-based)
  • Entropy score display (bits of entropy)
  • Configurable length and word count
  • Copy-to-clipboard support

Usage

# Generate a 20-character password
password_gen generate --length 20

# Generate a 6-word diceware passphrase
password_gen diceware --words 6

# Show entropy score
password_gen generate --show-entropy
Enter fullscreen mode Exit fullscreen mode

Install

pip install neuralmint/password-gen
Enter fullscreen mode Exit fullscreen mode

Risk Scoring

Entropy (bits) Security Level
< 40 Weak
40–60 Moderate
60–80 Strong
80+ Very Strong

Support development:

SOL: 4TGyiYBjaYhFFPNYyCoJjf16ctUsWVBiMR1FXQxEfhWi

ETH: 0xe07f177E0725c11EEc8BeA34C5b5193CaF2a1A6a

Tags: python, cli, opensource, devtools
Series: neuralmint CLI Tools

Top comments (0)