{"uid":"cap_AR481d3t31n0AzbasReBM","slug":"income-2-agent-tools-hash-encode-c9cb1268","name":"INCOME 2 Agent Tools – Hash & Encode","description":"Low-cost x402 pay-per-call tools for autonomous buyers. Web extraction returns static public pages as clean markdown; every payable operation declares x-payment-info and a 402 response. Free betas: Agent Purchase Guard adds retry-safe purchase intent controls; Outcome Router accepts a desired result plus max budget and autonomously discovers fulfillment, tries zero-dollar proof-of-work first, and supports buyer-signed x402 paid execution where available.\n\nBuyer-signed paid HYDRA execution\n- Outcome request: POST https://earn-tools-backend.onrender.com/outcome-router\n- Paid execution: POST https://earn-tools-backend.onrender.com/outcome-router/execute/{requestId}\n- First execution call returns the relayed Agent402 Smart Order Router x402 PAYMENT-REQUIRED challenge.\n- An x402-capable buyer wallet signs locally and retries with PAYMENT-SIGNATURE.\n- HYDRA forwards the proof and returns the routed result.\n- HYDRA never receives the buyer private key or uses owner working capital.\n- Current beta platform fee: $0. Higher paid tiers are not auto-escalated.","url":"https://earn-tools-backend.onrender.com/hash-encode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","maxLength":10000},"input":{"type":"string","maxLength":500000},"operation":{"enum":["sha256","sha512","hmac-sha256","base64-encode","base64-decode","jwt-decode"],"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"result":"...","operation":"sha256"}}},"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_0l3BtErrg8-UtuYyzYp0E","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":"Hashes or encodes a string using SHA-256, SHA-512, HMAC-SHA-256, Base64, or decodes a JWT — returning the transformed result as clean JSON.","exampleAgentPrompt":"Can you compute the SHA-256 hash of the string 'hello world'?","exampleUseCases":[{"title":"Verify file integrity hash","prompt":"Hash this string with SHA-256 so I can verify it matches the checksum on the download page: 'v2.4.1-release-linux-amd64'"},{"title":"Base64 encode API credentials","prompt":"Base64-encode this string for me so I can use it as a Basic Auth header: 'myusername:mypassword123'"},{"title":"Decode a JWT token payload","prompt":"Decode this JWT for me so I can see what claims are inside: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"}],"resultDescription":"A JSON object with ok: true and a result object containing the transformed output string and the operation name that was applied (e.g. {ok: true, result: {result: '2cf24dba...', operation: 'sha256'}}).","failureModes":["Missing required 'input' or 'operation' field returns a validation error","Invalid operation enum value returns a 400-style error","HMAC-SHA256 called without a 'key' field may fail or return an error","Input string exceeding 500,000 characters is rejected","402 Payment Required if x402 payment header is missing or invalid","Service may be slow to respond on cold start (hosted on Render free tier)"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, pay-per-call cryptographic utility without spinning up local compute — especially useful for hashing strings for integrity checks, encoding/decoding Base64 payloads, computing HMAC signatures for API authentication, or quickly inspecting JWT claims. It is priced at $0.001 USDC per call via x402, making it economical for high-frequency agent pipelines. Prefer alternatives if you need asymmetric crypto, signature verification beyond HMAC, or AES encryption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:45:08.157Z","isFirstParty":false}