# SHA-1 Hex Digest (Latin-1 Input)

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

Computes a SHA-1 hash of Latin-1 encoded bytes and returns the result as a lowercase hexadecimal string

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-hex-latin1?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-1-hex-digest-latin-1-input-29ac16e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T52S2ttrYX8L3_7xFOqfD

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

Example prompt: Can you compute the SHA-1 hash of the Latin-1 text 'Hello, World!' and give me the result as a hex string?

## When to prefer this

Choose this endpoint when you specifically need a SHA-1 digest of Latin-1 (ISO-8859-1) encoded byte sequences returned as hex. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha1-hex-latin1) for testing. Use this paid endpoint in production when the sandbox is unavailable or rate-limited. If you need SHA-256 or UTF-8 input handling instead of Latin-1, look for a different digest endpoint.

## Known failure modes

- Text exceeds maxLength of 100,000 characters — request rejected
- Key missing or empty (minLength 1 violation) — validation error
- Text contains characters outside the Latin-1 range that cannot be represented — encoding error or silent truncation
- Payment of $0.004 USDC not provided or insufficient — 402 Payment Required response
- Malformed JSON body — 400 Bad Request

## How this service works

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

## Output

A JSON response containing the SHA-1 hash of the input text (interpreted as Latin-1 bytes), encoded as a lowercase hexadecimal string. No network calls are made; the computation is deterministic and stateless.

## 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-hex-digest-latin-1-input-29ac16e4/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)
