← 返回
未分类 中文

Password Gen

Generate secure passwords, passphrases, and PINs with entropy analysis. Use when the user needs a random password, passphrase, PIN, or wants to check how str...
生成安全密码、口令与 PIN,含熵分析。用于随机密码、口令、PIN 生成或强度检查。
johnnywang2001
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 417
下载
💾 0
安装
1
版本
#latest

概述

Password Generator

Generate cryptographically secure passwords, passphrases, and PINs from the command line. Analyze existing passwords for strength. Uses Python secrets module for CSPRNG — no external dependencies.

Quick Start

# Generate a 16-character password
python3 scripts/password_gen.py

# Generate a 32-character password, 5 at a time
python3 scripts/password_gen.py -l 32 -n 5

# Passphrase (4 random words)
python3 scripts/password_gen.py --passphrase

# 6-word passphrase, capitalized, with number
python3 scripts/password_gen.py --passphrase -w 6 --capitalize --add-number

# PIN
python3 scripts/password_gen.py --pin
python3 scripts/password_gen.py --pin -l 8

# Analyze a password
python3 scripts/password_gen.py --analyze 'MyP@ssw0rd!'

# JSON output
python3 scripts/password_gen.py --json

Commands

FlagDescription
-------------------
-l, --length NPassword length (default: 16)
-n, --count NGenerate N passwords
--no-uppercaseExclude uppercase letters
--no-lowercaseExclude lowercase letters
--no-digitsExclude digits
--no-symbolsExclude symbols
--exclude CHARSExclude ambiguous chars like lI1O0
--must-include CHARSForce specific characters to appear
--passphraseWord-based passphrase mode
-w, --words NWords in passphrase (default: 4)
--separator SEPPassphrase separator (default: -)
--capitalizeCapitalize passphrase words
--add-numberAppend random number to passphrase
--pinNumeric PIN mode
--analyze PWAnalyze existing password strength
--jsonJSON output

Entropy Guide

BitsStrengthUse Case
--------------------------
< 28Very WeakNever use
28-35WeakThrowaway accounts only
36-59ModerateGeneral accounts
60-79StrongImportant accounts
80-127Very StrongFinancial, admin
128+ExcellentMaster passwords, encryption keys

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 04:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Agent Invoice Generator

johnnywang2001
根据自然语言或结构化数据生成专业的PDF发票,适用于用户请求创建发票、向客户计费或生成收据等场景。
★ 0 📥 651
security-compliance

Subdomain Enum

johnnywang2001
通过DNS暴力破解和证书透明度日志(crt.sh)枚举任意域的子域名。适用于用户需要发现子域名、执行侦察等场景。
★ 0 📥 627
security-compliance

Port Scanner

johnnywang2001
快速TCP端口扫描器,用于网络侦察与安全审计,可扫描主机开放端口、检测常见服务并识别潜在攻击面。
★ 0 📥 647