# SHA1 Digest of Hex Bytes Encoded as Base64

> SHA1 Digest of Hex Bytes Encoded as Base64 is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-02).

Computes a SHA-1 hash of raw hex-encoded bytes and returns the digest encoded as base64.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha1-base64-rawhex?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha1-digest-of-hex-bytes-encoded-as-base64-fe70b57c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JFGaeAZSY3MxGyMPDGkkg

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 sha1-digest-of-hex-bytes-encoded-as-base64-fe70b57c -d '<json body>'
```

Example prompt: Can you compute the SHA-1 digest of these hex bytes — 'deadbeef0102030405' — and give me the result encoded as base64?

## When to prefer this

Choose this endpoint when you specifically need a SHA-1 hash of raw bytes represented as a hex string, with the output in base64 format. Use the free sandbox POST /v1/sandbox/digest-sha1-base64-rawhex first to avoid charges during development. Prefer this paid endpoint only when the sandbox is unavailable or rate-limited. Do not use this for plain text SHA-1 hashing (use an endpoint that accepts raw text) or when SHA-256/Blake2 are acceptable alternatives.

## Known failure modes

- Invalid hex string input (odd length or non-hex characters) — expect a 4xx error
- Input text exceeds 100,000 character limit — request rejected
- Missing or empty text field — validation error
- Payment not provided or insufficient USDC — 402 Payment Required

## How this service works

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

## Output

Returns a base64-encoded string representing the SHA-1 digest computed over the raw bytes described by the input hex string. No network calls or LLM inference are involved — it is a 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": [
    "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/sha1-digest-of-hex-bytes-encoded-as-base64-fe70b57c/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)
