360 Secure SkillHub
360 安全技能中心

Local Password Generator & Strength Check

该 Skill 由两个本地 Python 脚本组成:generate.py 按指定长度和字符类型生成随机密码,并支持排除易混淆字符;check.py 接收密码字符串,计算熵值并估算破解时间。所有操作在本地完成,不依赖外部服务。

alone86136
alone86136
热度 44.90
最近更新 2026-05-11 17:35:43
分类:安全依赖:代码执行应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add local-password
Metadata
name
local-password
description
Generate secure random passwords and check password strength. Supports custom length and character types (uppercase, lowercase, numbers, symbols). Pure local operation, no external dependencies. Use when users need to generate new secure passwords or check password strength.

local-password

Overview

A simple local tool for generating secure random passwords and checking password strength. Fully configurable: choose password length, enable/disable different character types. Estimates password entropy and crack time. All operations run locally, no data leaves your machine.

Features

  • Generate secure random passwords: Custom length and character set options
  • Password strength check: Calculate entropy and estimate crack time
  • Flexible options: Include/exclude uppercase, lowercase, numbers, symbols
  • Avoid ambiguous characters: Option to exclude similar looking characters (0O1lI)

Usage

Generate password

# Default: 16 characters, all character types
python3 scripts/generate.py

# Custom length with no symbols
python3 scripts/generate.py --length 20 --no-symbols

# Exclude ambiguous characters
python3 scripts/generate.py --length 12 --no-ambiguous

Check password strength

python3 scripts/check.py "your-password-here"

Resources

scripts/

  • generate.py - Generate secure random password with custom options
  • check.py - Check password strength and estimate entropy/crack time