{"uid":"cap_4T_GM5NhxSmTkdqIJ_1k7","slug":"sha-256-hex-digest-of-raw-hex-bytes-4e9574f4","name":"SHA-256 Hex Digest of Raw Hex Bytes","description":"Call when an agent needs a sha256 digest of hex bytes, encoded as hex. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-hex-rawhex first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha256-hex-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.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tn_1xZzPG1sCyXl_q3OV_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","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 digest of input data provided as a hex-encoded byte string and returns the result as a hex-encoded digest","exampleAgentPrompt":"Can you compute the SHA-256 digest of this hex-encoded raw byte sequence — deadbeef0102030405060708 — and give me back the result as a hex string?","exampleUseCases":[{"title":"Verify integrity of raw binary payload","prompt":"I have a chunk of binary data represented in hex as 4a6f736570680d0a — can you run SHA-256 on it as raw bytes and give me back the hex digest so I can compare it against a checksum?"},{"title":"Generate cryptographic fingerprint for blockchain data","prompt":"Take this raw transaction data in hex format — 0100000001abc123 — hash it with SHA-256 treating it as raw bytes, and return the hex digest I can use as a transaction fingerprint."},{"title":"Hash firmware image bytes for integrity check","prompt":"I have a firmware image expressed as a hex byte string: ff4e3d2c1b0a — please compute the SHA-256 hash treating those as raw bytes and return the result in hex so I can validate it against the expected value."}],"resultDescription":"Returns a hex-encoded SHA-256 digest string computed by treating the input text as raw hex bytes and hashing the underlying binary data. The result is a 64-character lowercase hex string representing the 256-bit digest.","failureModes":["Input text is not valid hex (odd length or non-hex characters) — likely returns 400 or validation error","Input text or key exceeds maximum length limits (512 chars for key, 100000 chars for text) — returns error","Payment of $0.007 USDC not provided — returns 402 Payment Required","Network timeout or service unavailability — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you specifically need to SHA-256 hash data that is provided as a raw hex byte string and want the output returned as hex. Choose this over generic SHA-256 endpoints when your input is already hex-encoded binary (e.g. raw transaction bytes, binary blobs, firmware images) rather than plain text. If a free sandbox endpoint at POST /v1/sandbox/digest-sha256-hex-rawhex is available, prefer that first to avoid the $0.007 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:15.570Z","isFirstParty":false,"canonicalSlug":"sha-256-hex-digest-of-raw-hex-bytes-4e9574f4"}