# SHA-1 Base64 Digest

> SHA-1 Base64 Digest 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-01).

Computes a SHA-1 hash of input text and returns it encoded as a base64 string, with no network or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-base64?utm_source=zero.xyz
- Price: $0.006/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-base64-digest-30dc7374
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SH9p-SxBq_Se69P53BDKu

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-base64-digest-30dc7374 -d '<json body>'
```

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

## When to prefer this

Prefer this endpoint when you need a fast, deterministic SHA-1 digest returned as base64 and do not want to execute arbitrary code or spin up a runtime environment. Ideal for agents that need cryptographic fingerprints without access to local hashing libraries. Use the free sandbox endpoint (POST /v1/sandbox/digest-sha1-base64) for testing before paying $0.006 USDC per call here.

## 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
- Payment failure (insufficient USDC balance) blocks the request

## How this service works

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

## Output

A JSON response containing the base64-encoded SHA-1 digest of the provided input text. The result is a deterministic, fixed-length string derived purely from the input with no external calls.

## 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-base64-digest-30dc7374/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)
