# SHA-256 Hex Digest of Raw Hex Bytes

> SHA-256 Hex Digest of Raw Hex Bytes 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-02).

Computes a SHA-256 digest of input data provided as a hex-encoded byte string and returns the result as a hex-encoded digest

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha256-hex-rawhex?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-hex-digest-of-raw-hex-bytes-4e9574f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4T_GM5NhxSmTkdqIJ_1k7

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-256-hex-digest-of-raw-hex-bytes-4e9574f4 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 digest of this hex-encoded raw byte sequence — deadbeef0102030405060708 — and give me back the result as a hex string?

## When to prefer this

Use this endpoint when you specifically need to SHA-256 hash data that is provided as a raw hex byte string and want the output returned as hex. Choose this over generic SHA-256 endpoints when your input is already hex-encoded binary (e.g. raw transaction bytes, binary blobs, firmware images) rather than plain text. If a free sandbox endpoint at POST /v1/sandbox/digest-sha256-hex-rawhex is available, prefer that first to avoid the $0.007 USDC charge.

## Known failure modes

- Input text is not valid hex (odd length or non-hex characters) — likely returns 400 or validation error
- Input text or key exceeds maximum length limits (512 chars for key, 100000 chars for text) — returns error
- Payment of $0.007 USDC not provided — returns 402 Payment Required
- Network timeout or service unavailability — returns 5xx error

## How this service works

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

## Output

Returns a hex-encoded SHA-256 digest string computed by treating the input text as raw hex bytes and hashing the underlying binary data. The result is a 64-character lowercase hex string representing the 256-bit digest.

## 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-256-hex-digest-of-raw-hex-bytes-4e9574f4/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)
