# Foundry Hash Generator

> Foundry Hash Generator is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Computes multiple cryptographic hashes (MD5, SHA1, SHA256, SHA512, SHA3-256, BLAKE2b, Keccak256) of any input text in a single call

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-hash-generator-85eed239
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IfmWk9VBiAnH4zcDtwrm9

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 foundry-hash-generator-85eed239 -d '<json body>'
```

Example prompt: Can you hash the text 'hello world' and give me the SHA256, Keccak256, and MD5 digests all at once?

## When to prefer this

Choose this endpoint when you need multiple cryptographic hash formats simultaneously from a single API call — especially when you need Keccak256 for Ethereum/EVM compatibility alongside standard hash algorithms like SHA256 or MD5. It saves multiple round-trips compared to calling separate hashing utilities and is ideal for lightweight text hashing tasks without needing a local cryptography library.

## Known failure modes

- Input text exceeds 8000 character limit — request rejected
- Missing or empty 'input' field — likely returns validation error
- Network timeout if the Render.com server is cold-starting
- Payment failure if x402 USDC balance is insufficient (cost: $0.001 per call)

## How this service works

Hash generator: md5, sha1, sha256, sha512, sha3-256, blake2b and keccak256 of a text. Input: any text.

## Output

A JSON object containing the 'hashes' field with seven hash values (md5, sha1, sha256, sha512, sha3_256, blake2b, keccak256) all computed from the input text, plus 'input_bytes' indicating the byte length of the input string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "Any text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hashes": {
   "md5": "5d41402abc4b2a76b9719d911017c592",
   "sha1": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d",
   "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
   "sha512": "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043",
   "blake2b": "e4cfa39a3d37be31c59609e807970799caa68a19bfaa15135f165085e01d41a65ba1e1b146aeb6bd0092b49eac214c103ccfa3a365954bbbe52f74a2b3620c94",
   "sha3_256": "3338be694f50c5f338814986cdf0686453a888b84f424d792af4b9202398f392",
   "keccak256": "0x1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"
  },
  "input_bytes": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-hash-generator-85eed239/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
