# AgentTools Hash Digest Generator

> AgentTools Hash Digest Generator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Computes exact cryptographic hash digests (SHA-256, SHA-512, SHA-1, MD5) of any UTF-8 text string, returning a deterministic hex digest.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/hash?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-hash-digest-generator-6977b64e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-urrEu4Ducm1Y0dC4oYLX

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 agenttools-hash-digest-generator-6977b64e
```

Example prompt: Can you compute the SHA-256 hash of the text 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you need a deterministic cryptographic hash of a text string using one of the four standard algorithms (SHA-256, SHA-512, SHA-1, MD5). It is particularly useful for data integrity checks, deduplication fingerprinting, legacy MD5 compatibility, and any scenario where you need a fast, reproducible digest without setting up local crypto libraries. Prefer SHA-256 or SHA-512 for security-sensitive use cases; use MD5 only for legacy compatibility.

## Known failure modes

- Missing required 'text' query parameter — returns 400 error
- Invalid 'algo' value outside the enum (sha256, sha512, sha1, md5) — returns validation error
- Non-UTF-8 or extremely large text strings may cause processing errors
- Network timeout or service unavailability returns a 5xx error

## How this service works

Compute exact hash digests of UTF-8 text using Web Crypto (SHA family) and a verified pure-JS MD5 for legacy checksums. Deterministic — identical input always yields the identical digest. Use this when an agent needs to sHA-256 / SHA-512 / SHA-1 / MD5, exact digests.

## Output

Returns the hex-encoded hash digest of the input text, along with the algorithm used. The digest is deterministic — identical text and algorithm always produce the same output. No state is stored.

## 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": {
       "enum": [
        "sha256",
        "sha512",
        "sha1",
        "md5"
       ],
       "type": "string",
       "description": "Algorithm"
      },
      "text": {
       "type": "string",
       "description": "Text"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-hash-digest-generator-6977b64e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
