{"uid":"cap_BtlrJcYPXDtHBXySVAmZz","slug":"sha-256-base64-utf-16le-digest-2fc06eb1","name":"SHA-256 Base64 UTF-16LE Digest","description":"Call when an agent needs a sha256 digest of utf16le bytes, encoded as base64. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-base64-utf16 first.","url":"https://agentshelf.syntexa.ch/v1/digest-sha256-base64-utf16?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7ytIn73jZ9R9pVAkWPgYZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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 text encoded as UTF-16LE bytes, returned as a Base64 string","exampleAgentPrompt":"Can you compute the SHA-256 hash of the text 'Hello, World!' using UTF-16LE byte encoding and give me the result as a Base64 string? Use key 'mykey123'.","exampleUseCases":[{"title":"Verify document integrity with Unicode support","prompt":"I need to verify the integrity of this document content — can you compute a SHA-256 base64 digest of the text 'Invoice #4821: €2,500 due on 2024-06-01' using UTF-16LE encoding with key 'invoice-check'? I want to store the hash for later comparison."},{"title":"Generate deterministic fingerprint for multilingual text","prompt":"I have some Japanese and Chinese text that needs a consistent cryptographic fingerprint — please compute the SHA-256 base64 digest of '日本語テスト中文测试' encoded as UTF-16LE with key 'lang-check'."},{"title":"Checksum API payload with Unicode characters","prompt":"Before sending this payload to our partner system, compute a SHA-256 base64 hash of the string 'Ünïcödé Pàyloàd 2024' in UTF-16LE encoding using key 'payload-sig' so I can include it as a signature header."}],"resultDescription":"Returns a Base64-encoded string representing the SHA-256 hash computed over the UTF-16LE byte representation of the input text. The result is a deterministic, fixed-length cryptographic digest suitable for integrity checks, fingerprinting, or signature verification.","failureModes":["Empty or missing text field returns validation error","Text exceeding 100,000 characters is rejected","Missing or empty key field returns validation error","Key exceeding 512 characters is rejected","Payment failure (insufficient USDC balance) results in 402 response","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you specifically need a SHA-256 digest of text computed over its UTF-16LE byte encoding (common in Windows/.NET environments and certain API signature schemes) returned as Base64. It is distinct from standard UTF-8-based SHA-256 hashing, making it the right choice for interoperability with systems that use UTF-16LE internally, such as Microsoft Office, certain XML signing protocols, or legacy Windows applications. Prefer the free sandbox endpoint `/v1/sandbox/digest-sha256-base64-utf16` for testing before using this paid version.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:16.793Z","isFirstParty":false,"canonicalSlug":"sha-256-base64-utf-16le-digest-2fc06eb1"}