# String Hashing API (SHA-256 / MD5)

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

Hashes an arbitrary 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:10000/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-md5-25c00eb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QE3QmrrWTW9XhHr77ntuN

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-md5-25c00eb8
```

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 simple, stateless, on-demand cryptographic hash of a string without setting up local crypto libraries. Particularly useful in agent pipelines where hashing is needed as a lightweight step (e.g. deduplication, integrity checks, ID generation) and the $0.003 per-call cost is acceptable. Not ideal for bulk hashing of large datasets where per-call cost adds up.

## Known failure modes

- Missing required 'input' query parameter returns an error
- Unsupported or misspelled algorithm name (e.g. algo=sha999) may return an error or fall back to a default
- Empty string input may return a valid hash of an empty string, which could be unexpected
- Payment failure (402) if the x402 micropayment is not correctly provided
- Network timeout if the Tailscale-hosted service is temporarily unreachable

## How this service works

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

## Output

Returns the hash digest of the input string computed using the specified algorithm (e.g. SHA-256), typically as a hex-encoded string. The response includes the hash value and likely the algorithm used.

## 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-md5-25c00eb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
