# SHA-512/224 Digest of Hex Bytes, Base64-Encoded

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

Computes a SHA-512/224 cryptographic hash of raw bytes supplied as a hex string and returns the digest encoded in base64.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha512-224-base64-rawhex?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-512-224-digest-of-hex-bytes-base64-encoded-8455bc25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wa0Tsms15yST-wMGifPUb

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-224-digest-of-hex-bytes-base64-encoded-8455bc25 -d '<json body>'
```

Example prompt: Can you compute the SHA-512/224 hash of these hex bytes — 'deadbeef0102' — and give me the result as a base64 string?

## When to prefer this

Choose this endpoint when you specifically need a SHA-512/224 hash (the 224-bit truncated variant of SHA-512) over SHA-256 or SHA-3 variants, and your input is raw binary data represented as a hex string rather than plain text, with the output needed in base64 encoding. If you need to hash plain text rather than hex bytes, use the text-input sibling endpoint instead. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha512-224-base64-rawhex) before paying.

## Known failure modes

- Invalid hex string (odd length or non-hex characters) — likely returns a 400 error
- Input exceeds maxLength of 100,000 characters — request rejected
- Empty input string — rejected due to minLength:1 constraint
- Network timeout or service unavailability — 5xx error
- Insufficient USDC balance for the $0.006 payment — payment failure

## How this service works

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

## Output

Returns a base64-encoded SHA-512/224 cryptographic digest of the input hex bytes. The SHA-512/224 algorithm produces a 224-bit (28-byte) hash truncated from SHA-512, which base64-encodes to approximately 40 characters.

## 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-224-digest-of-hex-bytes-base64-encoded-8455bc25/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)
