# SHA-256 Digest (Latin1 bytes, Base32 encoded)

> SHA-256 Digest (Latin1 bytes, Base32 encoded) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Computes the SHA-256 hash of a text string treated as Latin1-encoded bytes and returns the digest encoded in Base32 format.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-base32-latin1?utm_source=zero.xyz
- Price: $0.005/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-digest-latin1-bytes-base32-encoded-b88452ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aBGP2KvgW2Qu5j3Zg6tQA

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-latin1-bytes-base32-encoded-b88452ac -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the text 'Hello World' treating it as Latin1 bytes and give me the result encoded in Base32?

## When to prefer this

Use this endpoint when you specifically need a SHA-256 digest of text interpreted as Latin1 (ISO-8859-1) bytes and the result must be Base32 encoded. Prefer this over alternatives when your system or protocol requires Base32 output (e.g., for compatibility with case-insensitive systems) rather than hex or Base64. Try the free sandbox endpoint /v1/sandbox/digest-sha256-base32-latin1 first; only use this paid endpoint when the sandbox is unavailable or when making production calls.

## Known failure modes

- Input text exceeds 100,000 character limit — returns error
- Key missing or empty (minLength 1) — returns validation error
- Text field missing or empty (minLength 1) — returns validation error
- Characters outside the Latin1 range may cause unexpected encoding behavior
- Payment of $0.005 USDC not provided — returns 402 Payment Required
- Network timeout or service unavailability — returns 5xx error

## How this service works

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

## Output

Returns a Base32-encoded SHA-256 digest string computed from the input text interpreted as Latin1 bytes. The result is a deterministic, fixed-length Base32 string that can be used as a hash fingerprint or checksum.

## 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-latin1-bytes-base32-encoded-b88452ac/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)
