# SHA-512/256 Digest — Base64-Encoded, Latin1 Input

> SHA-512/256 Digest — Base64-Encoded, Latin1 Input is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-29).

Computes a SHA-512/256 cryptographic hash of a latin1-encoded byte string and returns it as a base64-encoded digest.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha512-256-base64-latin1?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-512-256-digest-base64-encoded-latin1-input-2f9d975b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QyC407ZmOLyOgpeNxtodQ

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-512-256-digest-base64-encoded-latin1-input-2f9d975b -d '<json body>'
```

Example prompt: Compute a SHA-512/256 hash of this latin1 text — 'Héllo, wörld!' — and give me the result as base64.

## When to prefer this

Use this endpoint when you specifically need a SHA-512/256 (truncated SHA-512) hash of latin1-encoded bytes returned as standard base64. Choose it over SHA-256 when you want the security margin of SHA-512 with a 256-bit output, and over hex-encoded variants when base64 compactness is required. If an unpaid sandbox version is available at /v1/sandbox/digest-sha512-256-base64-latin1, prefer that first.

## Known failure modes

- Text contains non-latin1 characters that cannot be encoded — returns an error
- Text or key exceeds maximum length (100,000 or 512 chars respectively) — validation error
- Empty text or key provided — rejected by minLength constraint
- Payment not attached or insufficient — 402 Payment Required response

## How this service works

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

## Output

Returns a base64-encoded SHA-512/256 digest string computed from the provided latin1-encoded input text, with no external network calls or LLM inference involved.

## 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-512-256-digest-base64-encoded-latin1-input-2f9d975b/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)
