# Agent Dev Tools – Hashing (x402)

> Agent Dev Tools – Hashing (x402) is a paid API for AI agents from agent-dev-tools.frcompanycheck.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).

Computes MD5, SHA-1/256/384/512, and HMAC hashes of a given text string, returning hex digests per algorithm, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://agent-dev-tools.frcompanycheck.workers.dev/v1/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-dev-tools-hashing-x402-70908612
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2FjVmo1ApEFomtX7mPBqk

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 agent-dev-tools-hashing-x402-70908612
```

Example prompt: Can you compute the SHA256 and MD5 hashes of the text 'hello world' for me?

## When to prefer this

Choose this endpoint when you need fast, deterministic cryptographic hashing of text without setting up an account or API key — especially in agent workflows that already use x402 micropayment rails. Ideal for one-off hashing tasks, HMAC generation, or computing multiple hash algorithms in a single call. Prefer over self-hosted solutions when your agent environment lacks a native crypto library or when you want pay-per-use billing with no subscription overhead.

## Known failure modes

- Missing required 'text' query parameter returns an error (not charged)
- Invalid algorithm name in 'algo' list returns an error (not charged)
- Empty text string may return a valid hash of empty input
- HMAC key provided without a supported algorithm may be silently ignored or error
- x402 payment failure prevents the request from being processed

## How this service works

Fast deterministic developer utilities for AI agents, paid per call in USDC via x402 (no account, no API key): UUID v4/v7, secure random numbers, dice, MD5/SHA/HMAC hashing, base64/hex/URL/HTML encoding, JSON validation/formatting, QR code SVG, password generation, JWT decoding and text statistics. Pure computation, nothing stored. Errors are never charged.

## Output

A JSON object containing a map of requested algorithm names (e.g. md5, sha256) to their computed hex digest strings. Each algorithm returns at minimum a 'hex' field with the hash output. Multiple algorithms can be returned in a single response.

## 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": {
      "algo": {
       "type": "string",
       "example": "sha256",
       "description": "Comma list: md5,sha1,sha256,sha384,sha512 (default sha256)"
      },
      "text": {
       "type": "string",
       "example": "hello world",
       "description": "Text to hash"
      },
      "hmac_key": {
       "type": "string",
       "description": "Optional HMAC key"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "algorithms": {
   "md5": {
    "hex": "5eb63bbbe01eeed093cb22bb8f5acdc3"
   },
   "sha256": {
    "hex": "b94d27b9…"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-dev-tools-hashing-x402-70908612/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-dev-tools.frcompanycheck.workers.dev](https://www.zero.xyz/host/agent-dev-tools.frcompanycheck.workers.dev/llms.txt)
