{"uid":"cap_WKfqzGC6txBmockNL6CZy","slug":"halowerk-random-bytes-generator-890e06d3","name":"Halowerk Random Bytes Generator","description":"Returns 1 to 1024 cryptographically random bytes as hexadecimal. Suitable for application nonces; this service does not create or manage a wallet.","url":"https://agent.halowerk.com/v1/random-bytes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bytes":{"type":"integer","default":32,"maximum":1024,"minimum":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CyRwHMPUFIl6Q8375nxXX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns 1–1024 cryptographically random bytes as a hexadecimal string, suitable for use as application nonces or secrets.","exampleAgentPrompt":"Generate 64 cryptographically random bytes as a hex string — I need it as a nonce for my application.","exampleUseCases":[{"title":"CSRF token seed generation","prompt":"I need a cryptographically random 32-byte hex value to use as a CSRF token nonce for my web app — can you get one?"},{"title":"Session identifier entropy","prompt":"Generate 64 random bytes as hex so I can use them as the entropy seed for a new user session identifier."},{"title":"API key nonce component","prompt":"I need 16 cryptographically random bytes in hex to embed as a nonce component in an API key I'm constructing — can you fetch that?"}],"resultDescription":"A hex-encoded string of 1–1024 cryptographically random bytes, suitable for use as nonces, token seeds, or other security-sensitive randomness needs in application code.","failureModes":["bytes parameter below 1 or above 1024 returns a validation error","missing or malformed request body results in a 400 error","payment failure or insufficient USDC balance prevents the call from completing","service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when your agent needs cryptographically strong random bytes for security-sensitive purposes (nonces, token seeds, CSRF values) and does not have access to a local CSPRNG, or when you need an auditable, externally-sourced entropy value. This is not a wallet or key-management service — it only produces raw random bytes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:31:01.351Z","isFirstParty":false,"canonicalSlug":"halowerk-random-bytes-generator-890e06d3"}