# x402.forgemesh.io SHA-256/SHA-512/SHA-1/MD5 Hash Generator

> x402.forgemesh.io SHA-256/SHA-512/SHA-1/MD5 Hash Generator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Computes a cryptographic hash (SHA-256, SHA-512, SHA-1, or MD5) of any input text and returns the digest as a hex string, computed without any third-party round-trip.

## Facts

- Endpoint: POST https://x402.forgemesh.io/sha256-generator
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-sha-256-sha-512-sha-1-md5-hash-generator-231c2bc5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UrGeS49AU75YV3c_whsEz

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-forgemesh-io-sha-256-sha-512-sha-1-md5-hash-generator-231c2bc5 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a fast, deterministic cryptographic hash of a text string without implementing it locally — especially when computing cache keys, deduplication signatures, or content fingerprints and multiple hash algorithms are needed via a single consistent API. Prefer it over general-purpose compute when you want a pay-per-call model with no infrastructure setup.

## Known failure modes

- Missing or empty 'text' field returns an error
- Unsupported algorithm string returns a validation error
- Extremely large input text may be rejected or time out
- Malformed request body returns a 400-level error
- Payment not completed or insufficient USDC balance returns a 402 error

## How this service works

Computes a SHA-256 digest of any input text and returns it as a hex string, computed locally with no network round-trip to a third party. Also supports SHA-512, SHA-1, and MD5 on request. Useful for content fingerprints, cache keys, and deduplication logic where the same input must always produce the exact same output.

## Output

Returns a hex-encoded digest string of the input text using the specified algorithm (SHA-256 by default, or SHA-512, SHA-1, MD5 if requested). The result is deterministic — the same input always produces the same output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "algorithm": {
   "type": "string",
   "description": "sha256 (default) | sha512 | sha1 | md5"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "algorithm": "sha256"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-sha-256-sha-512-sha-1-md5-hash-generator-231c2bc5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
