跳至主要内容
小龙虾小龙虾AI
🤖

Openssl

Generate secure random strings, passwords, and cryptographic tokens using OpenSSL. Use when creating passwords, API keys, secrets, or any secure random data.

下载1.9k
星标0
版本1.0.0
浏览器网页
安全通过

技能说明


name: openssl description: Generate secure random strings, passwords, and cryptographic tokens using OpenSSL. Use when creating passwords, API keys, secrets, or any secure random data.

OpenSSL Secure Generation

Generate cryptographically secure random data using openssl rand.

Password/Secret Generation

# 32 random bytes as base64 (43 chars, URL-safe with tr)
openssl rand -base64 32 | tr '+/' '-_' | tr -d '='

# 24 random bytes as hex (48 chars)
openssl rand -hex 24

# alphanumeric password (32 chars)
openssl rand -base64 48 | tr -dc 'a-zA-Z0-9' | head -c 32

Common Lengths

Use CaseCommand
Password (strong)openssl rand -base64 24
API keyopenssl rand -hex 32
Session tokenopenssl rand -base64 48
Short PIN (8 digits)`openssl rand -hex 4

Notes

  • -base64 outputs ~1.33x the byte count in characters
  • -hex outputs 2x the byte count in characters
  • Pipe through tr -dc to filter character sets
  • Always use at least 16 bytes (128 bits) for secrets

如何使用「Openssl」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Openssl技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能