{"uid":"cap_Mv7hIJNcMyZlqxtjRzaqY","slug":"alice-s-deterministic-toolkit-cryptographic-random-bytes-a1e84b93","name":"Alice's Deterministic Toolkit – Cryptographic Random Bytes","description":"Deterministic encoding/crypto primitives served per call over x402: hashing, HMAC, base64/hex/URL encode+decode, JWT payload decoding, cryptographic randomness — plus the payout-gate intelligence set: which bounty/AI-security platforms require identity or a tax form before paying, what their automation and human-review clauses actually say, and which ones pay to a self-custody wallet. No model inference, no rate of change — same input, same output, every time.","url":"https://alice-deterministic-tools.judicious-entrance.workers.dev/v1/random","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"bytes":{"type":"number"},"format":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"bytes":32,"value":"9f2c…","format":"hex"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QIx981IKFvVuOR2rAFv19","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates cryptographically secure random bytes and returns them in hex or other specified format, billed per call via x402 micropayment.","exampleAgentPrompt":"Give me 32 cryptographically secure random bytes in hex format.","exampleUseCases":[{"title":"Generate nonce for API request signing","prompt":"I need a 16-byte cryptographic nonce in hex to use as a one-time value when signing my API request — can you get that for me?"},{"title":"Create random salt for password hashing","prompt":"Generate 32 random bytes in hex format to use as a salt before I hash a new user password."},{"title":"Produce random session token","prompt":"I need a fresh 24-byte random token in hex to use as a session ID for a new user login — can you produce one?"}],"resultDescription":"Returns a JSON object with ok: true, the requested byte count, the random value as a string in the requested format (e.g. hex), and the format name used.","failureModes":["Invalid or missing 'bytes' parameter returns an error response","Unsupported format value may return an error or default behavior","Payment failure via x402 (insufficient USDC balance) blocks the request","Network timeout from the Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need deterministic infrastructure (same primitives, guaranteed behavior) for cryptographic randomness without relying on a local RNG, or when operating in an environment where you want auditable per-call micropayment billing via x402 rather than a subscription. It is especially useful for AI agents that need secure tokens, nonces, or salts on demand without managing entropy themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:47:16.094Z","isFirstParty":false}