# SHA-1 Base64URL Digest

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

Computes the SHA-1 hash of an input text string and returns it encoded as a base64url string, with no network or LLM calls involved.

## Facts

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

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-1c07dfbe -d '<json body>'
```

Example prompt: Can you give me the SHA-1 hash of the text 'Hello, World!' encoded as base64url?

## When to prefer this

Choose this endpoint when you need a SHA-1 hash specifically encoded as base64url (URL-safe Base64 without padding), such as for use in URLs, cache keys, or compact identifiers. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha1-base64url) when available. Use this paid endpoint when the sandbox is unavailable or rate-limited. If you need a different hash algorithm (e.g. BLAKE2b, BLAKE2s) or encoding (hex, base32), use the sibling endpoints on the same host.

## Known failure modes

- Missing or empty 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Missing or invalid API key results in authentication failure
- Malformed request body (non-JSON) returns a parse error

## How this service works

Call when an agent needs a sha1 digest of text, encoded as base64url. No network and no LLM. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/digest-sha1-base64url first.

## Output

Returns a SHA-1 digest of the provided text, encoded as a base64url string. The output is URL-safe, compact, and deterministic for any given input. No external network requests or LLM processing are involved in producing the result.

## 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-1c07dfbe/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)
