# SHA-256 Hex Digest (Latin-1)

> SHA-256 Hex Digest (Latin-1) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-02).

Computes a SHA-256 hash of Latin-1 encoded bytes from input text and returns the digest as a lowercase hex string.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-hex-latin1?utm_source=zero.xyz
- Price: $0.006/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-hex-digest-latin-1-a500533d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qFp8LcRXbQNXJueSMpwbJ

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-hex-digest-latin-1-a500533d -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hex digest of the Latin-1 encoded string 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you specifically need a SHA-256 hash of text interpreted as Latin-1 (ISO-8859-1) bytes rather than UTF-8, which matters for legacy systems, European character sets, or when matching checksums produced by Latin-1-aware software. Use the free sandbox endpoint (/v1/sandbox/digest-sha256-hex-latin1) first to validate your integration before paying $0.006 per call on this production endpoint.

## Known failure modes

- Input text contains characters outside the Latin-1 range (codepoints > 255), causing encoding errors
- Missing required 'text' field returns a validation error
- Text exceeds 100,000 character limit returns a payload-too-large error
- Payment not provided or invalid USDC amount returns HTTP 402
- Key field missing or empty string returns a validation error

## How this service works

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

## Output

Returns a lowercase hexadecimal string representing the SHA-256 digest of the input text treated as Latin-1 encoded bytes. The hex string is 64 characters long (256 bits).

## 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-hex-digest-latin-1-a500533d/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)
