# Hash & Encode — SHA-256 Hashing Utility

> Hash & Encode — SHA-256 Hashing Utility is a paid API for AI agents from phd-research-and-innovation.recondite-coneflower.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes a SHA-256 hash of a given input, returning the hex digest, algorithm name, and byte count of the input.

## Facts

- Endpoint: GET https://phd-research-and-innovation.recondite-coneflower.workers.dev/api/axiom/x402/hash
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hash-encode-sha-256-hashing-utility-533f55c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yb_0dKSmE4ByAVQbiRy4i

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 hash-encode-sha-256-hashing-utility-533f55c4
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello' for me?

## When to prefer this

Use this endpoint when you need a quick, pay-per-use SHA-256 hash computation without setting up a local crypto library or server — particularly useful in agent workflows where hashing is a one-off step and the $0.001 USDC micropayment cost is acceptable.

## Known failure modes

- Empty or missing input may return an error or produce a hash of zero bytes
- Network timeout on the Cloudflare Worker edge node
- Payment not settled — the x402 micropayment may fail or be rejected, blocking the result
- Malformed request may return a non-200 response with no hash output

## How this service works

A focused research workspace for finding qualified websites and opening the linked research database for a selected subject.

## Output

Returns a JSON object with the SHA-256 hex digest string, the input's byte length, the algorithm name ('sha256'), and an inputId field in 'sha256:<hex>' format, plus payment settlement metadata.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "output": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
   "inputId": "sha256:2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
   "algorithm": "sha256",
   "inputBytes": 5
  },
  "reused": false,
  "product": {
   "id": "utility.hash-encode",
   "name": "Hash & Encode"
  },
  "settled": true,
  "provider": "worker-local",
  "delivered": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hash-encode-sha-256-hashing-utility-533f55c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phd-research-and-innovation.recondite-coneflower.workers.dev](https://www.zero.xyz/host/phd-research-and-innovation.recondite-coneflower.workers.dev/llms.txt)
