# SHA-1 Base64URL Digest (Latin1) — agentshelf.syntexa.ch

> SHA-1 Base64URL Digest (Latin1) — agentshelf.syntexa.ch is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-29).

Computes a SHA-1 digest of latin1-encoded bytes from input text and returns it encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-base64url-latin1?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-1-base64url-digest-latin1-agentshelf-syntexa-ch-f5cb23ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fdo9ti4O3sUweSMiZboRr

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-base64url-digest-latin1-agentshelf-syntexa-ch-f5cb23ad -d '<json body>'
```

Example prompt: Hash the text 'Héllo Wörld' using SHA-1, treating it as latin1 bytes, and give me the result encoded as base64url.

## When to prefer this

Choose this endpoint when you specifically need SHA-1 hashing with latin1 byte interpretation and base64url output encoding — particularly for legacy systems, HTTP digest authentication, or interoperability with ISO-8859-1 encoded data. Use the free sandbox variant (POST /v1/sandbox/digest-sha1-base64url-latin1) for testing. Prefer alternatives if you need SHA-256/SHA-512, UTF-8 encoding, or hex output.

## Known failure modes

- Input text exceeds 100,000 character limit — request rejected
- Key field missing or empty (minLength:1) — validation error
- Text contains characters outside latin1 range that cannot be mapped — encoding error
- Payment of $0.01 USDC not provided or rejected — 402 Payment Required
- Malformed JSON body — 400 Bad Request

## How this service works

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

## Output

Returns a base64url-encoded SHA-1 digest string of the input text treated as latin1-encoded bytes. No network calls or LLM involvement — pure deterministic cryptographic computation.

## 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-base64url-digest-latin1-agentshelf-syntexa-ch-f5cb23ad/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)
