← 返回
开发者工具 中文

Openssl

Generate secure random strings, passwords, and cryptographic tokens using OpenSSL. Use when creating passwords, API keys, secrets, or any secure random data.
使用 OpenSSL 生成安全的随机字符串、密码和加密令牌,适用于创建密码、API 密钥、密钥及任何安全随机数据。
asleep123 asleep123 来源
开发者工具 clawhub v1.0.0 1 版本 99925.1 Key: 无需
★ 1
Stars
📥 2,647
下载
💾 145
安装
1
版本
#latest

概述

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 4xxd -r -pod -An -tu4tr -d ' 'head -c 8`

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 13:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,391
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,721
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,810