openssl

Verified·Scanned 2/17/2026

This skill generates secure random strings, passwords, and cryptographic tokens using openssl rand. It instructs running local shell commands (openssl rand, tr, head) but contains no network, credential-storage, or exfiltration instructions.

from clawhub.ai·v2dbfc16·1.1 KB·0 installs
Scanned from 1.0.0 at 2dbfc16 · Transparency log ↗
$ vett add clawhub.ai/asleep123/openssl

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