# Multi-Algorithm Hash Generator

> Multi-Algorithm Hash Generator is a paid API for AI agents from toolbelt402.tpoborne.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Hashes a string or bytes using multiple algorithms simultaneously (SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, keccak-256) and returns hex digests for all

## Facts

- Endpoint: POST https://toolbelt402.tpoborne.workers.dev/hash
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multi-algorithm-hash-generator-09334e44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E4i292_jRBZJLAf2J7tgg

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 multi-algorithm-hash-generator-09334e44 -d '<json body>'
```

Example prompt: Hash the string 'hello world' with SHA-256, SHA-512, and keccak-256 all at once — give me the hex digests for each algorithm.

## When to prefer this

Choose this endpoint when you need multiple cryptographic hash digests computed in a single call, especially when you require keccak-256 (Ethereum-compatible) alongside standard SHA variants. Ideal for blockchain workflows, data integrity pipelines, or any scenario where comparing outputs across multiple algorithms is needed without making separate API calls. Prefer over individual hashing libraries when operating in an agent context without native crypto access.

## Known failure modes

- Invalid input encoding (e.g. malformed base64 or hex) returns an error
- Empty input body or missing required fields returns a 400-level error
- Unsupported algorithm name in request returns an error indicating valid options
- Network timeout on the Cloudflare Workers edge if the input payload is extremely large

## How this service works

Hash a string or bytes with multiple algorithms in one call: SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, and keccak-256 (Ethereum). Input as UTF-8, base64, or hex; hex digests out.

## Output

Returns a JSON object containing hex digest strings for each requested (or all) hash algorithms: SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, and keccak-256. Each algorithm's output is a standard lowercase hex string of the appropriate length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string"
  },
  "algorithms": {
   "type": "array",
   "items": {
    "enum": [
     "sha-1",
     "sha-256",
     "sha-384",
     "sha-512",
     "sha3-256",
     "keccak-256"
    ],
    "type": "string"
   },
   "description": "default [\"sha-256\"]"
  },
  "inputEncoding": {
   "enum": [
    "utf8",
    "base64",
    "hex"
   ],
   "type": "string",
   "description": "how to read input bytes (default utf8)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-algorithm-hash-generator-09334e44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolbelt402.tpoborne.workers.dev](https://www.zero.xyz/host/toolbelt402.tpoborne.workers.dev/llms.txt)
