# Mat Web & Data Toolkit – Text Hashing

> Mat Web & Data Toolkit – Text Hashing is a paid API for AI agents from automatom.matt-d59.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Computes cryptographic hashes (MD5, SHA-1, SHA-256, SHA-512) of a given text string, optionally using a specified algorithm and key.

## Facts

- Endpoint: GET https://automatom.matt-d59.workers.dev/hash?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mat-web-data-toolkit-text-hashing-7ea080d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2yyU3ep5RmH4RGl1dC7R-

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 mat-web-data-toolkit-text-hashing-7ea080d2
```

Example prompt: Can you hash the text 'hello' and give me its MD5, SHA-1, SHA-256, and SHA-512 digests all at once?

## When to prefer this

Choose this endpoint when you need multiple hash formats for a single text string in one call, especially MD5 through SHA-512 simultaneously. It is ideal for lightweight integrity verification, fingerprinting, or checksum generation without setting up a local crypto library. Prefer alternatives if you need HMAC with a specific key and algorithm not supported here, or if you need to hash binary/file data rather than plain text strings.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Unsupported algorithm value in 'alg' field may produce an error or fall back to defaults
- Very large text inputs may hit Cloudflare Worker size limits
- Network timeout if the Worker is cold-starting or under load

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

Returns a JSON object containing the computed hashes in MD5, SHA-1, SHA-256, and SHA-512 formats, the byte length of the input text, and a boolean HMAC field indicating whether an HMAC was applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "alg": {
       "type": "string"
      },
      "key": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hmac": false,
  "bytes": 5,
  "hashes": {
   "md5": "5d41402abc4b2a76b9719d911017c592",
   "sha1": "aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d",
   "sha256": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
   "sha512": "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mat-web-data-toolkit-text-hashing-7ea080d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom.matt-d59.workers.dev](https://www.zero.xyz/host/automatom.matt-d59.workers.dev/llms.txt)
