← 返回
未分类 中文

Secure Password Tool

Generate cryptographically secure random passwords. Customizable length, character types, exclude similar characters. Pure Python standard library, no API ke...
生成密码学安全的随机密码,可自定义长度、字符类型,排除相似字符,纯 Python 标准库实现,无需外部 API。
freedompixels freedompixels 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 280
下载
💾 0
安装
1
版本
#latest

概述

Secure Password Generator

Generate cryptographically secure random passwords using Python's secrets module. No API keys, no external services, completely offline.

Features

  • Cryptographically secure: Uses secrets module (not random)
  • Customizable length: Default 16 characters
  • Character types: Uppercase, lowercase, digits, special symbols
  • Exclude similar characters: Remove 0, O, 1, l, I to avoid confusion
  • Batch generation: Generate multiple passwords at once
  • Pure standard library: Zero dependencies, works offline

Usage

# Generate a 16-character password (default)
python3 scripts/password_generator.py

# Generate a 20-character password
python3 scripts/password_generator.py 20

# Generate 10 passwords of 24 characters
python3 scripts/password_generator.py 24 10

# Exclude similar characters (0O1lI)
python3 scripts/password_generator.py 16 --exclude-similar

# Password without special symbols
python3 scripts/password_generator.py 16 --no-special

Examples

Generate a strong 20-character password
Generate 5 passwords of 16 characters each
Generate a password without special symbols for a website that doesn't allow them

Options

OptionDescription
---------------------
LENGTHPassword length (default: 16)
COUNTNumber of passwords to generate (default: 1)
--no-upperExclude uppercase letters
--no-lowerExclude lowercase letters
--no-digitsExclude digits
--no-specialExclude special symbols
--exclude-similarExclude 0, O, 1, l, I

Security Notes

  • Uses secrets.choice() for cryptographically secure randomness
  • Suitable for generating passwords, API keys, tokens
  • Not suitable for password hashing (use bcrypt/argon2 for storage)

中文说明

安全的随机密码生成器,使用Python标准库secrets模块,无需API Key。

  • 默认16位强密码
  • 支持自定义长度、字符类型
  • 可排除相似字符(0O1lI)
  • 支持批量生成

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 14:25 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Feishu Daily Report

freedompixels
飞书日报/周报自动生成:从飞书文档、聊天记录、Bitable等自动汇总生成结构化报告并发送至文档或群聊。触发词:生成日报、写周报、汇总今天工作、整理飞书内容发日报、自动发日报、定时生成报告。关键词:日报、周报、日报生成、自动。
★ 0 📥 1,482
dev-programming

CodeConductor.ai

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

Mcporter

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