# SHA-512 Hex-to-Base64 Digest

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

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

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha512-base64-rawhex?utm_source=zero.xyz
- Price: $0.004/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-hex-to-base64-digest-ef9c923d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iymDUIHJqTecYYWZxlg4I

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-hex-to-base64-digest-ef9c923d -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you specifically need SHA-512 hashing of hex-encoded byte data with base64 output, particularly in agentic workflows that support x402 micropayments. Prefer the free sandbox endpoint (/v1/sandbox/digest-sha512-base64-rawhex) for testing. Use this paid version when the sandbox is unavailable or rate-limited.

## Known failure modes

- Invalid hex string input (odd-length or non-hex characters) — likely returns 400 or error response
- Exceeds maximum text length of 100,000 characters — request rejected
- Missing required fields (key or text) — validation error
- Payment failure or insufficient USDC balance — 402 Payment Required

## How this service works

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

## Output

Returns a base64-encoded string representing the SHA-512 digest of the input interpreted as raw hex bytes. The digest is a fixed-length cryptographic hash suitable for integrity verification, fingerprinting, or signature comparison.

## 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-hex-to-base64-digest-ef9c923d/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)
