{"uid":"cap_w3JqQgfex3KhKQ7GnRBju","slug":"sha-256-base64url-digest-d11fe681","name":"SHA-256 Base64URL Digest","description":"Call when an agent needs a sha256 digest of text, encoded as base64url. No network and no LLM. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-base64url first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha256-base64url?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","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.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_VY8jP4OBHScAzH8Y4mSqT","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":"Computes a SHA-256 cryptographic hash of input text and returns it encoded as a base64url string, with no network or LLM involvement.","exampleAgentPrompt":"Hash the text 'Hello, world!' using SHA-256 and give me the result as a base64url string.","exampleUseCases":[{"title":"Content integrity fingerprinting","prompt":"Compute a SHA-256 base64url digest of this JSON payload so I can use it as an integrity fingerprint before storing it: '{\"user\":\"alice\",\"action\":\"login\",\"ts\":1720000000}'"},{"title":"Deterministic cache key generation","prompt":"I need a short, URL-safe cache key for this long text — hash it with SHA-256 and return the base64url result: 'The quick brown fox jumps over the lazy dog, and other common pangrams used in testing.'"},{"title":"Password pre-hash before salting","prompt":"Take the string 'mysecretpassword123' and give me its SHA-256 digest encoded as base64url so I can use it as a pre-hash step in my key derivation pipeline."}],"resultDescription":"Returns a base64url-encoded SHA-256 digest of the submitted text. The response is a deterministic, fixed-length string (43 characters without padding) suitable for use in URLs, headers, or anywhere a compact hash representation is needed.","failureModes":["Text exceeds 100,000 character limit — returns a 400 or size error","Missing or empty 'text' field — returns a validation error","Missing or invalid 'key' field — returns an authentication or payment error","Payment of $0.001 USDC not completed — returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a SHA-256 hash specifically encoded as base64url (not hex or base32), and you want a deterministic, pure-computation result with no external network calls or LLM inference. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha256-base64url) first; use this paid endpoint when the sandbox is unavailable or rate-limited. Prefer sibling endpoints if you need a different algorithm (blake2b512, blake2s256, md5, ripemd160, sha224) or a different encoding (hex, base32).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:54.951Z","isFirstParty":false,"canonicalSlug":"sha-256-base64url-digest-d11fe681"}