# SHA-1 Hex-Bytes to Hex Digest

> SHA-1 Hex-Bytes to 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-02).

Computes a SHA-1 digest of raw bytes supplied as a hex string and returns the result encoded as a hexadecimal string

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-hex-rawhex?utm_source=zero.xyz
- Price: $0.005/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-bytes-to-hex-digest-981b7538
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5sTeSGqKofgEdebbCQvmL

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-bytes-to-hex-digest-981b7538 -d '<json body>'
```

Example prompt: Compute the SHA-1 hash of these hex-encoded bytes — 'deadbeef0102030405' — and give me the result as a hex string.

## When to prefer this

Choose this endpoint when you need a SHA-1 digest of raw binary data supplied as a hex string and want the result returned in hexadecimal format. Prefer the free sandbox version (/v1/sandbox/digest-sha1-hex-rawhex) for testing or when cost matters. Use this paid endpoint when the sandbox is unavailable, rate-limited, or when operating in production environments that require guaranteed SLA. Prefer SHA-256 or SHA-512 endpoints on the same platform when stronger cryptographic guarantees are required.

## Known failure modes

- Invalid hex string input (odd-length or non-hex characters) — likely 400 Bad Request
- Input text exceeds 100,000 character limit — rejected at schema validation
- Missing required 'text' field — 400 Bad Request
- Payment not provided or insufficient — 402 Payment Required
- Service temporarily unavailable — 5xx error

## How this service works

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

## Output

Returns a SHA-1 digest of the input hex bytes, encoded as a lowercase hexadecimal string (40 characters). The endpoint performs no storage and is fully deterministic for a given input.

## 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": [
    "68656c6c6f"
   ],
   "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-bytes-to-hex-digest-981b7538/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)
