# String Hashing API (SHA-256 / Multi-Algorithm)

> String Hashing API (SHA-256 / Multi-Algorithm) is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Hashes an input string using a specified algorithm (e.g. SHA-256) and returns the resulting hash digest.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/hash
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/string-hashing-api-sha-256-multi-algorithm-6f4193c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PBfpIRRdZT9dqPR0nLCnn

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 string-hashing-api-sha-256-multi-algorithm-6f4193c2
```

Example prompt: Can you hash the string 'hello world' using SHA-256 and give me the resulting digest?

## When to prefer this

Choose this endpoint when you need a quick, stateless, server-side cryptographic hash of a string without setting up local crypto libraries. Ideal for lightweight agents that need deterministic string fingerprints, integrity tags, or hash verification in a single API call. Prefer it over local hashing when running in sandboxed environments without crypto access.

## Known failure modes

- Missing 'input' query parameter returns an error or empty response
- Unsupported algorithm specified via 'algo' parameter returns an error
- Very long input strings may be truncated or rejected
- Network timeout from the Tailscale-hosted service
- Invalid characters in the input may cause encoding issues

## How this service works

Hash a string. ?algo=sha256&input=hello

## Output

Returns a JSON response containing the computed hash digest as a hex string, the algorithm used, and the original input — enabling immediate use in integrity checks, deduplication, or verification workflows.

## 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",
     "properties": {
      "algo": {
       "type": "string"
      },
      "input": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/string-hashing-api-sha-256-multi-algorithm-6f4193c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
