# SHA-512/256 Hex Digest of Raw Hex Bytes (Paid)

> SHA-512/256 Hex Digest of Raw Hex Bytes (Paid) 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-19).

Computes a SHA-512/256 hash of input data provided as raw hex bytes, returning the digest encoded as a hex string.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha512-256-hex-rawhex?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-512-256-hex-digest-of-raw-hex-bytes-paid-6a869748
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_20qavc_-YLVP0SymkPNI7

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-512-256-hex-digest-of-raw-hex-bytes-paid-6a869748 -d '<json body>'
```

Example prompt: Compute the SHA-512/256 digest of the hex bytes '48656c6c6f576f726c64' and give me the result as a hex string.

## When to prefer this

Choose this endpoint when you specifically need SHA-512/256 (the SHA-2 truncated variant, not SHA-256 or SHA-512) applied to raw binary data supplied as hex-encoded bytes, with the digest returned in hex. Use the free sandbox variant (/v1/sandbox/digest-sha512-256-hex-rawhex) first if available; fall back to this paid endpoint ($0.005 USDC) when the sandbox is unavailable or rate-limited.

## Known failure modes

- Invalid hex string input (non-hex characters) resulting in a 400 error
- Input text or key exceeding length limits (100,000 and 512 chars respectively) causing rejection
- Payment failure or insufficient USDC balance resulting in 402 response
- Network timeout or service unavailability returning 5xx error
- Empty input string rejected due to minLength:1 constraint

## How this service works

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

## Output

Returns a SHA-512/256 cryptographic digest of the provided hex-encoded bytes, expressed as a lowercase hex string. The output represents the 256-bit hash produced by the SHA-512/256 truncated variant of SHA-2.

## 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-512-256-hex-digest-of-raw-hex-bytes-paid-6a869748/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)
