← 返回
未分类 中文

Password Generator

Generate secure random passwords with customizable length, symbols, and numbers using Python's cryptographically strong secrets module.
使用 Python secrets 模块生成安全随机密码,支持自定义长度和字符集。
harrylabsj harrylabsj 来源
未分类 clawhub v1.0.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 293
下载
💾 0
安装
2
版本
#latest

概述

Password Generator Pro

Usage Scenarios

Scenario 1: Generate a Default Secure Password

User input: "Generate a secure password for my new account"

Expected output: The tool outputs a randomly generated 16-character password using mixed case letters, digits, and special symbols, along with the command used.

Scenario 2: Create a Custom-Length Password

User input: "I need a 32-character password with all character types"

Expected output: The tool generates a 32-character password with symbols and numbers included, using --length 32 option.

Scenario 3: Generate Multiple Passwords at Once

User input: "Generate 5 passwords for my team's new service accounts"

Expected output: The tool outputs 5 separate passwords each 16 characters long, using --count 5 option, suitable for bulk account creation.

Generate secure random passwords using Python's secrets module.

Scenario 4: 生成一个安全又好记的密码

User input: "我要注册一个新的银行App,需要设置登录密码,要求大小写+数字+特殊字符,帮我生成一个。"

Expected output: 生成一个强密码模板:采用'三段式'原则(熟悉词+数字+符号),如'dog$Running!2026#'。或者使用口令式(4个随机单词组合确保长度和复杂度)。同时建议用户开启银行App的指纹/面部识别和双因素认证(如短信验证码+动态口令)。不建议在多个重要的账号使用相同的密码。如果用户记不住,推荐使用苹果iCloud钥匙串或1Password。

Description

A secure password generator that uses Python's cryptographically secure secrets module to generate random passwords. Supports customizable length and character set options.

Usage

# Generate a 16-character password with all character types
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 16

# Generate password without symbols
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 12 --no-symbols

# Generate password without numbers
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 12 --no-numbers

# Generate multiple passwords at once
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 20 --count 5

Examples

# Default 16-character password
python ~/.openclaw/skills/password-generator-pro/password_generator.py

# Short password for simple use
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 8

# Long password with letters only
python ~/.openclaw/skills/password-generator-pro/password_generator.py --length 32 --no-symbols --no-numbers

# Generate 3 passwords
python ~/.openclaw/skills/password-generator-pro/password_generator.py --count 3

Options

  • --length: Password length (default: 16)
  • --no-symbols: Exclude special symbols
  • --no-numbers: Exclude numbers
  • --count: Number of passwords to generate (default: 1)

Security Note

This tool uses Python's secrets module, which is designed for cryptographic applications and provides secure random number generation suitable for passwords and authentication tokens.

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-06-22 12:45
  • v1.0.0
    2026-05-07 11:15 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 67,964
content-creation

Commerce Content Generator

harrylabsj
商务内容生成器:输入产品简介、证据、受众和渠道,输出小红书笔记、抖音脚本、广告/邮件/商品listing等变体。
★ 1 📥 1,934
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 76 📥 182,457