{"uid":"cap_8-ct2s9L7SHzZ4wQV2nJQ","slug":"agentresolver-hash-encode-ee001f68","name":"AgentResolver Hash & Encode","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/hash-encode","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","required":["operation","input"],"properties":{"input":{"type":"string","maxLength":4096,"description":"Bounded query input for the selected deterministic transform."},"operation":{"enum":["sha256","sha512","base64-encode","base64-decode","jwt-decode"],"type":"string","description":"GET-safe operation. hmac-sha256 stays POST-only so secrets never appear in URLs."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_c8LURHcXEKwl9ZGynSIzP","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":"Performs cryptographic hashing and encoding operations (SHA-256, SHA-512, HMAC-SHA256, Base64 encode/decode, JWT decode) on a given string input.","exampleAgentPrompt":"Can you compute the SHA-256 hash of the string 'hello world' for me?","exampleUseCases":[{"title":"Verify file integrity with SHA-256","prompt":"Hash the string 'my-config-file-content-abc123' using SHA-256 so I can verify its integrity later."},{"title":"Decode a JWT token payload","prompt":"I have this JWT token — can you decode it and show me what's in the payload? Here it is: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.signature"},{"title":"Generate HMAC for webhook verification","prompt":"Generate an HMAC-SHA256 of the string 'order_id=42&amount=99.99' using the secret key 'mysecretkey123' so I can sign my webhook payload."}],"resultDescription":"Returns the result of the requested cryptographic or encoding operation as a string — for example, a hex-encoded hash digest, a base64 string, a decoded plaintext, or a decoded JWT payload object.","failureModes":["Missing required 'operation' field returns a validation error","Unsupported operation value (outside the allowed enum) returns an error","HMAC-SHA256 operation without a 'secret' field may return an error or empty result","Invalid base64 input for base64-decode returns a decoding error","Malformed JWT for jwt-decode returns a parse error","Payment of 0.001 USDC required per call; missing or failed payment returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when an agent needs quick, serverless cryptographic hashing or encoding without standing up its own compute — especially for SHA-256/SHA-512 fingerprinting, HMAC signing for webhook payloads, base64 encode/decode, or inspecting JWT payloads. Ideal for lightweight, single-call cryptographic operations within an agent workflow where local code execution is not available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:44:16.239Z","isFirstParty":false}