Cryptographically secure random bytes, tokens and passwords
randomCryptographically secure random bytes, tokens and passwords. Generates random bytes (hex/base64/base64url/base58), passwords with chosen character classes, or numeric PINs, from a CSPRNG. Reports the entropy in bits. Nothing is stored. Price: $0.003 USDC per call via x402 (eip155:8453).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | bytes | |
| count | No | ||
| length | No | bytes for kind=bytes, characters otherwise | |
| symbols | No | ||
| encoding | No | hex |