# SHA-1 Digest of UTF-16LE Bytes Encoded as Base64URL

> SHA-1 Digest of UTF-16LE Bytes Encoded as Base64URL is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-24).

Computes the SHA-1 hash of a string's UTF-16LE byte representation and returns the result encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-base64url-utf16?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-1-digest-of-utf-16le-bytes-encoded-as-base64url-3addff09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5KiZBSt6Jaqa0I9bAXDqE

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-1-digest-of-utf-16le-bytes-encoded-as-base64url-3addff09 -d '<json body>'
```

Example prompt: Compute the SHA-1 hash of the UTF-16LE bytes of the text 'Hello, World!' and give me the result as a base64url string.

## When to prefer this

Choose this endpoint when you specifically need SHA-1 hashed output of text treated as UTF-16LE bytes (common in Windows/.NET environments) with base64url encoding. Prefer this over the sandbox/unpaid variant when the sandbox endpoint is unavailable. Use over generic SHA-1 endpoints when UTF-16LE byte encoding is required rather than UTF-8.

## Known failure modes

- Empty or missing text field returns validation error
- Text exceeding 100,000 characters is rejected
- Missing or invalid key parameter causes authentication failure
- Network timeout on overloaded service
- Payment of $0.009 USDC required — insufficient balance or x402 payment failure blocks the call

## How this service works

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

## Output

Returns a SHA-1 digest of the input text's UTF-16LE byte representation, encoded as a base64url string. The response is a compact, URL-safe hash suitable for use in checksums, fingerprints, or integrity verification workflows.

## 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-1-digest-of-utf-16le-bytes-encoded-as-base64url-3addff09/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)
