# SHA-256 Text Hashing Tool

> SHA-256 Text Hashing Tool is a paid API for AI agents from lin-desk-x402.lindesk.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Computes the SHA-256 hash of an input text string and returns the hex digest

## Facts

- Endpoint: GET https://lin-desk-x402.lindesk.workers.dev/v1/texttools/sha256?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-text-hashing-tool-7a5238ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TWhc7GBevQlHX0Vuk6MAv

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 sha-256-text-hashing-tool-7a5238ae
```

Example prompt: Can you compute the SHA-256 hash of the text 'hello'?

## When to prefer this

Use this endpoint when you need a fast, pay-per-call, no-signup SHA-256 hash of a text string without maintaining any infrastructure. It is ideal for AI agents that occasionally need cryptographic hashing as a utility step without integrating a full crypto library or managing API keys.

## Known failure modes

- Input text exceeds 100 KiB limit — request rejected
- Missing required 'input' query parameter — returns error
- Invalid encoding specified — may return error or default to UTF-8
- Network timeout on slow connections

## How this service works

Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.

## Output

A JSON object containing the operation name ('sha256'), metadata (chars_in, chars_out, elapsed_ms), and the result field holding the 64-character lowercase hex SHA-256 digest of the input text.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "Input text; max 100 KiB"
      },
      "encoding": {
       "type": "string",
       "description": "Text encoding (default utf-8)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "op": {
       "type": "string"
      },
      "meta": {
       "type": "object",
       "properties": {
        "chars_in": {
         "type": "integer"
        },
        "chars_out": {
         "type": "integer"
        },
        "elapsed_ms": {
         "type": "integer"
        }
       }
      },
      "result": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "op": "sha256",
  "meta": {
   "chars_in": 5,
   "chars_out": 64,
   "elapsed_ms": 0
  },
  "result": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-256-text-hashing-tool-7a5238ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lin-desk-x402.lindesk.workers.dev](https://www.zero.xyz/host/lin-desk-x402.lindesk.workers.dev/llms.txt)
