360 Secure SkillHub
360 安全技能中心

Random Tool

该 Skill 提供命令行工具 random-tool,可按指定长度生成随机字符串、在给定区间生成随机整数,并生成字母数字加符号的随机密码,适用于测试数据与随机化场景。除命令行用法外未声明许可证、兼容宿主或校验方式。

dinghaibin
dinghaibin
热度 30.46
最近更新 2026-05-18 11:48:39
分类:效率依赖:代码执行应用场景:自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add random-tool
Metadata
name
random-tool
description
Generate random numbers, passwords, and strings with configurable length and character sets. Use for security tokens, testing data, and randomization.

Random - Data Generator

Generate cryptographically secure random values including integers within a range, random passwords with customizable character sets, and random strings for testing.

Usage

random-tool [options]

Options

  • -l N: Generate string of length N
  • -n MIN MAX: Random integer between MIN and MAX
  • -p: Generate a random password (alphanumeric + symbols)

Examples

random-tool -l 32
random-tool -n 1 100
random-tool -p -l 16