crypto-random-bytes
Installation
SKILL.md
Cryptographically secure random bytes
crypto.random-bytes on https://fittings.sh. One endpoint, deterministic compute.
Generate CSPRNG bytes from the Web Crypto API, returned as hex, base64 or a UUID. Never Math.random.
The call
GET https://fittings.sh/v1/crypto/random-bytes
| Field | Type | Required | Notes |
|---|---|---|---|
bytes |
number | no | 1-1024 |
encoding |
string | no | hex | base64 | uuid |
Example input: