# SHA-256 Base64 Latin1 Digest

> SHA-256 Base64 Latin1 Digest 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-02).

Computes a SHA-256 hash of a Latin1-encoded string and returns the digest encoded as Base64.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-base64-latin1?utm_source=zero.xyz
- Price: $0.009/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-latin1-digest-9da60125
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gqNNO0iTc0CxIC8BtVZHG

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-latin1-digest-9da60125 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of this Latin1 text 'Héllo Wörld' and give me the result as a Base64-encoded digest?

## When to prefer this

Use this endpoint when you specifically need a SHA-256 hash of text that must be treated as Latin1 (ISO-8859-1) bytes, with the digest returned in Base64 format. This is important for legacy systems, certain HMAC-style protocols, or when interoperating with services that use Latin1 encoding rather than UTF-8. Prefer the free sandbox endpoint /v1/sandbox/digest-sha256-base64-latin1 first; use this paid endpoint when sandbox is unavailable or for production use.

## Known failure modes

- Input text contains characters outside the Latin1 (ISO-8859-1) range, causing encoding errors
- Text or key field missing or empty (minLength:1 violation)
- Text exceeds 100,000 character limit (maxLength violation)
- Key exceeds 512 character limit
- Payment not attached or insufficient USDC balance (x402 payment required)
- Service unavailable, returning 5xx error

## How this service works

Call when an agent needs a sha256 digest of latin1 bytes, encoded as base64. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/digest-sha256-base64-latin1 first.

## Output

Returns a Base64-encoded string representing the SHA-256 digest of the input text interpreted as Latin1 bytes. This is a deterministic cryptographic hash output 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-latin1-digest-9da60125/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)
