{"uid":"cap_pVyyXMFmo-40htLHe4FWn","slug":"cryptographic-random-bytes-generator-9b60ecab","name":"Cryptographic Random Bytes Generator","description":"Advanced micro-tools for AI agents: cryptographic randomness, text analysis, math helpers, date arithmetic, web metadata, and IP intelligence. All under $0.01 per request, paid in USDC via x402.","url":"https://agent-micro.annushka1190.workers.dev/v1/crypto/random-bytes","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":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_PaS04wdrlCu-2_Y1QgyFB","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 via a GET request, paid in USDC via x402","exampleAgentPrompt":"Give me 32 cryptographically secure random bytes for use as a nonce in my encryption workflow.","exampleUseCases":[{"title":"Nonce generation for encryption","prompt":"I need a fresh cryptographic nonce — generate 16 secure random bytes I can use as an IV for AES encryption."},{"title":"Secure session token seeding","prompt":"Generate 32 cryptographically random bytes to seed a new session token for my user authentication flow."},{"title":"Random key material for signing","prompt":"Produce 64 secure random bytes I can use as key material for an HMAC signing operation."}],"resultDescription":"Returns a JSON object with ok: true and the generated cryptographically secure random bytes, suitable for use as nonces, seeds, IVs, or key material in security-sensitive applications.","failureModes":["Missing or invalid query parameters may return a 400 error","Payment not provided or insufficient USDC results in a 402 Payment Required response","Network or worker timeout returns a 5xx error","Invalid byte-count parameter may cause a validation error"],"whenToPreferThis":"Choose this endpoint when your AI agent needs a cheap, fast, pay-per-use source of cryptographically secure random bytes without standing up your own entropy service. At $0.002 per call paid in USDC via x402, it is ideal for agent pipelines that occasionally need randomness without infrastructure overhead. Prefer over local Math.random() or pseudo-random generators when true cryptographic security is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:42:31.875Z","isFirstParty":false}