# SHA-256 Digest (UTF-16LE, Base64URL) — agentshelf.syntexa.ch

> SHA-256 Digest (UTF-16LE, Base64URL) — agentshelf.syntexa.ch is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).

Computes a SHA-256 hash of the UTF-16LE byte encoding of a given text string, returning the digest encoded as a base64url string.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-base64url-utf16?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-digest-utf-16le-base64url-agentshelf-syntexa-ch-265dee26
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LyECXMjjvsB2weT7I52Xc

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-digest-utf-16le-base64url-agentshelf-syntexa-ch-265dee26 -d '<json body>'
```

Example prompt: Give me the SHA-256 digest of the text 'Hello, World!' encoded as UTF-16LE bytes, and return it as a base64url string.

## When to prefer this

Choose this endpoint when you specifically need a SHA-256 hash of text interpreted as UTF-16LE bytes (as used by Windows, .NET, and many Microsoft-ecosystem systems) and encoded in base64url format. It is distinct from standard UTF-8 SHA-256 hashing. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha256-base64url-utf16) for development or testing; use this paid endpoint for production reliability. Prefer this over general-purpose hashing tools when UTF-16LE byte semantics are required.

## Known failure modes

- Text or key exceeds maximum length (100,000 or 512 chars respectively) — request rejected
- Empty string inputs rejected due to minLength:1 constraints
- Payment failure or insufficient USDC balance — 402 Payment Required
- Network timeout or service unavailability — 5xx error
- Malformed JSON request body — 400 Bad Request

## How this service works

Call when an agent needs a sha256 digest of utf16le bytes, encoded as base64url. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-base64url-utf16 first.

## Output

Returns a base64url-encoded SHA-256 digest of the UTF-16LE byte representation of the submitted text. The output is a compact, URL-safe cryptographic hash string suitable for use in checksums, fingerprinting, or integrity 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-digest-utf-16le-base64url-agentshelf-syntexa-ch-265dee26/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)
