{"uid":"cap_QFsXZur9dl13Nk-7lesPL","slug":"hmac-sha1-base64-agentshelf-syntexa-ch-98566cc0","name":"HMAC-SHA1 Base64 — agentshelf.syntexa.ch","description":"Call when an agent needs an HMAC-sha1 of text with a caller-supplied key, encoded as base64. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/hmac-sha1-base64 first.","url":"https://agentshelf.syntexa.ch/v1/hmac-sha1-base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","examples":["secret"],"maxLength":512,"minLength":1,"description":"HMAC secret. Required on HMAC SKUs. Omit it for plain digests and checksums. The key is not stored."},"text":{"type":"string","examples":["hello"],"maxLength":100000,"minLength":1,"description":"Message to digest. For raw-hex SKUs this is hex bytes; for utf16 or latin1 SKUs it is decoded with that encoding. Otherwise it is UTF-8 text."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7C6ItAQEwP7iPJ6y4-gAF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes an HMAC-SHA1 digest of input text using a caller-supplied secret key, returning the result encoded as base64.","exampleAgentPrompt":"Compute the HMAC-SHA1 of the text 'order_id=12345&amount=99.99' using the secret key 'mySuperSecretKey' and give me the result as base64.","exampleUseCases":[{"title":"Webhook signature verification","prompt":"I need to verify a webhook payload — compute the HMAC-SHA1 of the body 'user=alice&event=signup' using secret key 'wh_secret_abc123' and encode it as base64 so I can compare it to the X-Hub-Signature header."},{"title":"API request signing","prompt":"Sign this API request body '{\"action\":\"transfer\",\"amount\":500}' using HMAC-SHA1 with my shared secret 'apiKey9876' and return the base64-encoded signature so I can include it in the Authorization header."},{"title":"Data integrity MAC generation","prompt":"Generate an HMAC-SHA1 base64 MAC for the string 'invoice_2024_00987' using the key 'billingSecret42' — I need to attach this as a tamper-proof checksum before storing the record."}],"resultDescription":"A JSON response containing the base64-encoded HMAC-SHA1 digest of the provided text, computed using the supplied key. No external network calls or LLM inference are involved — it is a pure cryptographic computation.","failureModes":["Missing or empty key field returns a validation error","Missing or empty text field returns a validation error","Text exceeding 100,000 characters returns a payload-too-large error","Invalid JSON body returns a parse error","Payment of $0.003 USDC not provided or rejected results in a 402 Payment Required response","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Prefer this endpoint when an AI agent needs a deterministic, server-side HMAC-SHA1 base64 computation without executing local code — especially in sandboxed environments where cryptographic libraries are unavailable. It is well-suited for webhook signature generation, API request signing, and data integrity checks. Try the free sandbox endpoint POST /v1/sandbox/hmac-sha1-base64 first; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:35.613Z","isFirstParty":false,"canonicalSlug":"hmac-sha1-base64-agentshelf-syntexa-ch-98566cc0"}