# x402 Utils - Cryptographic Hash

> x402 Utils - Cryptographic Hash is a paid API for AI agents from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Computes MD5, SHA-1, SHA-256, SHA-512, SHA3-256, and Keccak-256 (Ethereum) hashes of text or binary data, returning results as hex and base64

## Facts

- Endpoint: POST https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utils-cryptographic-hash-03f15890
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jyPzTTeNNJzB06QFmyn2A

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 x402-utils-cryptographic-hash-03f15890 -d '<json body>'
```

Example prompt: Compute the SHA-256 and Keccak-256 hashes of the UTF-8 text 'Hello, world!' and give me the results in both hex and base64.

## When to prefer this

Choose this endpoint when you need cryptographic hashes of text or binary data — especially when multiple algorithms are needed simultaneously, when Keccak-256 (Ethereum-native) is required, or when results in both hex and base64 are needed without any local computation. Ideal for agents operating in blockchain/Ethereum contexts or needing to verify data integrity without a local hashing library.

## Known failure modes

- Input text exceeds 1 MB limit — request rejected
- Invalid input encoding enum value — validation error returned
- Unsupported algorithm name in algorithms array — validation error
- Malformed base64 or hex input when input encoding is 'base64' or 'hex' — decoding error
- Payment failure or insufficient USDC balance — 402 Payment Required response

## How this service works

MD5, SHA-1, SHA-256, SHA-512, SHA3-256 and Keccak-256 (Ethereum) of a text, or of bytes given as hex or base64, as hex and base64.

## Output

Returns a JSON object with each requested hash algorithm as a key, each containing the hash digest in both 'hex' and 'base64' string formats. If no algorithms are specified, all six (md5, sha1, sha256, sha512, sha3-256, keccak256) are returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "what to hash (up to 1 MB)"
  },
  "input": {
   "enum": [
    "utf8",
    "hex",
    "base64"
   ],
   "type": "string",
   "description": "how text is encoded (default utf8)"
  },
  "algorithms": {
   "type": "array",
   "items": {
    "enum": [
     "md5",
     "sha1",
     "sha256",
     "sha512",
     "sha3-256",
     "keccak256"
    ],
    "type": "string"
   },
   "description": "which hashes (default all)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utils-cryptographic-hash-03f15890/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/llms.txt)
