{"uid":"cap_VvSDnGfB5XEYuFxnZMRG0","slug":"sha-256-digest-as-base64-of-raw-hex-bytes-71a29530","name":"SHA-256 Digest as Base64 of Raw Hex Bytes","description":"Call when an agent needs a sha256 digest of hex bytes, encoded as base64. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-base64-rawhex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha256-base64-rawhex?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":["68656c6c6f"],"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5JE2DuySgfWDb1cuVYGOV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 hash of raw hex-encoded bytes and returns the digest encoded as base64","exampleAgentPrompt":"Can you compute the SHA-256 hash of the raw bytes represented by this hex string '4a6f686e446f65' and give me the result as base64?","exampleUseCases":[{"title":"Integrity check for binary payload","prompt":"I have some binary data stored as hex — '48656c6c6f576f726c64' — can you get me its SHA-256 digest as a base64 string so I can verify it wasn't tampered with?"},{"title":"Cryptographic signature preparation","prompt":"Before I sign this data, I need the SHA-256 hash of these raw bytes in hex format 'deadbeefcafebabe' returned as base64 — can you compute that for me?"},{"title":"Fingerprinting hex-encoded file chunks","prompt":"I'm chunking a binary file and storing it as hex. Can you take this hex chunk 'f0e1d2c3b4a59687' and give me the SHA-256 base64 digest so I can use it as a fingerprint?"}],"resultDescription":"Returns a base64-encoded string representing the SHA-256 digest of the input data interpreted as raw bytes from the given hexadecimal string","failureModes":["Invalid or odd-length hex string causes a 400 error","Non-hex characters in input string result in a validation error","Payment of $0.01 USDC not included leads to 402 Payment Required","Input exceeding 100,000 character limit rejected with 400","Missing required fields returns a schema validation error"],"whenToPreferThis":"Prefer this endpoint when you need to hash raw binary data that is represented as a hex string and require the output as base64. Use it over alternatives when you explicitly need the combination of hex-input interpretation and base64 output encoding in a single step. Note: a free sandbox version at POST /v1/sandbox/digest-sha256-base64-rawhex should be tried first to avoid the $0.01 cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:21.105Z","isFirstParty":false,"canonicalSlug":"sha-256-digest-as-base64-of-raw-hex-bytes-71a29530"}