# SHA-256 Hash Generator

> SHA-256 Hash Generator is a paid API for AI agents from x402render-u5vwpxpyua-uc.a.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Computes the SHA-256 cryptographic hash of an input string and returns it as a hex digest

## Facts

- Endpoint: POST https://x402render-u5vwpxpyua-uc.a.run.app/hash-sha256
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-hash-generator-79bf65d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zG8HvWXYQv_ZHCev2Sw3X

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-256-hash-generator-79bf65d6 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello world' and give me the hex digest?

## When to prefer this

Use this endpoint when you need a quick, hosted SHA-256 hash computation without running local crypto libraries — particularly useful in agent workflows where spinning up a local hashing function isn't feasible. Prefer this over MD5 or SHA-1 endpoints when security and collision resistance matter. Ideal for one-off hashing tasks in pipelines involving data integrity checks, deterministic ID generation, or comparing stored hashes.

## Known failure modes

- Missing or empty 'text' field in request body returns an error
- Non-string input type for 'text' field may cause a 400 Bad Request
- Network timeout or service unavailability on Google Cloud Run returns 5xx error
- Payment failure or insufficient USDC balance blocks the request via x402 protocol

## How this service works

SHA-256 hash of a string

## Output

Returns the SHA-256 hash of the input text as a lowercase hexadecimal string (64 hex characters representing 32 bytes). The output is deterministic — identical inputs always produce identical hashes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-256-hash-generator-79bf65d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402render-u5vwpxpyua-uc.a.run.app](https://www.zero.xyz/host/x402render-u5vwpxpyua-uc.a.run.app/llms.txt)
