# SHA-256 Base64 UTF-16LE Digest

> SHA-256 Base64 UTF-16LE Digest is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-02).

Computes a SHA-256 hash of text encoded as UTF-16LE bytes, returned as a Base64 string

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-base64-utf16?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-base64-utf-16le-digest-2fc06eb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BtlrJcYPXDtHBXySVAmZz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sha-256-base64-utf-16le-digest-2fc06eb1 -d '<json body>'
```

Example prompt: 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'.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-256-base64-utf-16le-digest-2fc06eb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
