{"uid":"cap_eqBRhpkFTaSxiLzOqu2vh","slug":"sha-512-256-hex-digest-of-latin1-bytes-67498a1d","name":"SHA-512/256 Hex Digest of Latin1 Bytes","description":"Call when an agent needs a sha512-256 digest of latin1 bytes, encoded as hex. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/digest-sha512-256-hex-latin1 first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha512-256-hex-latin1?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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZF2xrzDwQuMKiP9kfJD0U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a SHA-512/256 cryptographic hash of latin1-encoded bytes and returns the result as a lowercase hexadecimal string.","exampleAgentPrompt":"Can you compute the SHA-512/256 hex digest of the latin1-encoded bytes for this text: 'Hello, World!' using the key 'mykey'?","exampleUseCases":[{"title":"Content integrity fingerprinting","prompt":"Hash this latin1 text with SHA-512/256 and give me the hex digest so I can use it as a checksum — the text is 'Invoice #4821: total $340.00' and the key is 'invoice-check'."},{"title":"Deterministic ID from legacy data","prompt":"I have a legacy latin1-encoded record with content 'user:john.doe|role:admin|ts:1700000000' and I need a SHA-512/256 hex hash using key 'record-id' to create a stable identifier for it."},{"title":"Security audit hash logging","prompt":"Generate the SHA-512/256 hex digest for this latin1 string 'config_v2:host=db01;port=5432;ssl=true' using key 'audit-log' so I can log it for tamper detection."}],"resultDescription":"Returns a lowercase hexadecimal string representing the SHA-512/256 cryptographic digest of the input text interpreted as latin1-encoded bytes. The hash is deterministic and fixed-length (64 hex characters).","failureModes":["Input text exceeds 100,000 character limit — request rejected","Key is empty or exceeds 512 characters — validation error","Text contains characters outside latin1 range — encoding error or undefined behavior","Payment of $0.004 USDC not provided — 402 Payment Required response","Missing required fields (key or text) — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you specifically need SHA-512/256 (the SHA-512 algorithm truncated to 256 bits, distinct from SHA-256) applied to latin1-encoded byte interpretation of your text, with the result as a hex string. Prefer this over the sandbox variant when operating in production. Use this instead of SHA-256 or SHA-3 endpoints when your security protocol or compliance requirement explicitly calls for SHA-512/256. It is ideal when interoperating with systems that treat input as latin1 bytes rather than UTF-8.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:52.796Z","isFirstParty":false,"canonicalSlug":"sha-512-256-hex-digest-of-latin1-bytes-67498a1d"}