Secure Random Generator
crypto_random_generatorGenerate cryptographically secure randomness: passwords with charset rules, hex keys of any byte length, and uniform random integers (rejection sampling, no modulo bias). Never use Math.random for secrets. Use this when an agent needs to cSPRNG passwords, hex keys and uniform integers. x402 price $0.01/call (USDC, eip155:8453).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | Int maximum | |
| min | Yes | Int minimum | |
| mode | Yes | Mode | |
| upper | Yes | Include A–Z | |
| digits | Yes | Include 0–9 | |
| length | Yes | Length (password/hex) | |
| symbols | Yes | Include symbols |