# ForgeMesh MD5/SHA Hash Generator

> ForgeMesh MD5/SHA 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 MD5, SHA-1, SHA-256, or SHA-512 hash of any text input and returns it as a hex digest instantly, without storing the input.

## Facts

- Endpoint: POST https://x402.forgemesh.io/md5-hash-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/forgemesh-md5-sha-hash-generator-721dd64e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtrSmNo9QZ97DJ35RKqRy

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 forgemesh-md5-sha-hash-generator-721dd64e -d '<json body>'
```

Example prompt: Can you generate an MD5 hash of the text 'Hello, World!' as a hex digest — I need it for a legacy checksum field in my pipeline.

## When to prefer this

Use this endpoint when you need a quick, stateless hash of arbitrary text using MD5, SHA-1, SHA-256, or SHA-512 — especially when MD5 is required for legacy system compatibility, or when you want multiple algorithm options from a single API without running local crypto libraries.

## Known failure modes

- Missing or empty 'text' field returns an error
- Invalid 'algorithm' value outside the accepted enum (sha256, sha512, sha1, md5) may return an error or default to sha256
- Very large text inputs may be rejected or time out
- Payment failure (insufficient USDC) blocks the request

## How this service works

Produces an MD5 hash, or SHA-1, SHA-256, SHA-512 on request, of any text input as a hex digest, computed instantly with nothing stored. Useful for legacy checksum compatibility, quick fingerprinting, and integrity checks in pipelines that still expect an MD5 value alongside newer algorithms.

## Output

A hex-encoded hash string of the input text using the specified algorithm (MD5, SHA-1, SHA-256, or SHA-512). Nothing is stored server-side; the result is computed on-the-fly.

## 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/forgemesh-md5-sha-hash-generator-721dd64e/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)
