# SHA-1 Hex Digest

> SHA-1 Hex Digest 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-03).

Computes the SHA-1 hash of a given text string and returns it as a lowercase hexadecimal digest

## Facts

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

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-700f8bc5 -d '<json body>'
```

Example prompt: Compute the SHA-1 hash of the text 'Hello, world!' and give me the result as a hex string.

## When to prefer this

Choose this endpoint when you need a SHA-1 hex digest specifically — for example, for legacy system compatibility, Git object IDs, or HTTP ETags that require SHA-1 format. If SHA-2 (SHA-256) or BLAKE2 suffices, prefer those stronger alternatives. Use this over running local code when the agent environment lacks execution capability or when a deterministic, auditable third-party hash is needed. Try the free sandbox endpoint POST /v1/sandbox/digest-sha1-hex first to avoid the $0.005 USDC cost.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Missing or invalid API key causes authentication failure
- Payment failure (insufficient USDC balance) results in 402 response
- Malformed request body returns 400 error

## How this service works

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

## Output

Returns the SHA-1 hash of the input text encoded as a lowercase hexadecimal string (40 characters). The response is deterministic — the same input always yields the same digest. No network calls or LLM inference are involved in the 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-hex-digest-700f8bc5/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)
