# AgentResolver SHA-512 Hash

> AgentResolver SHA-512 Hash is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Computes the SHA-512 cryptographic hash of a given input string, returning the hex-encoded digest along with input byte count and encoding metadata.

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/sha512
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-sha-512-hash-dca8d5c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bIAshHItm57GGnVmCegFY

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 agentresolver-sha-512-hash-dca8d5c2 -d '<json body>'
```

Example prompt: Can you compute the SHA-512 hash of the string 'Hello, world!' for me?

## When to prefer this

Choose this endpoint when you need a standard SHA-512 cryptographic hash computed server-side via a paid micropayment API (x402/USDC). Useful when the calling agent lacks local crypto libraries, needs a consistent hosted hashing service, or is operating in an environment where server-side computation is preferred for auditability.

## Known failure modes

- Missing 'input' field in request body returns validation error
- Empty string input may return a valid hash of zero bytes but could be semantically unintended
- Network timeout or server error on Vercel infrastructure
- Malformed JSON body returns parse error

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns a JSON object containing the operation name ('sha512'), the number of bytes in the input, the encoding format (typically 'hex'), and the resulting SHA-512 hash digest as a string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 131072
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-sha-512-hash-dca8d5c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
