# Pyfile Toolkit HMAC Generator

> Pyfile Toolkit HMAC Generator 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-16).

Computes an HMAC (Hash-based Message Authentication Code) for a given input string using a specified algorithm and secret key

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/hmac
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pyfile-toolkit-hmac-generator-3f68f837
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kMNYr2SARRyj5BtgC59dD

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 pyfile-toolkit-hmac-generator-3f68f837
```

Example prompt: Can you compute an HMAC-SHA256 of the string 'hello world' using the secret key 'mysecretkey'?

## When to prefer this

Use this endpoint when you need a quick, stateless HMAC computation without setting up a local crypto library — especially useful in agent pipelines that need to sign messages, verify webhook payloads, or authenticate API calls using a shared secret. Prefer this over general-purpose code execution when you just need the HMAC value and want a simple GET call.

## Known failure modes

- Missing required 'input' query parameter returns an error
- Unsupported algorithm value may return an error or empty result
- Empty or missing key may produce an unkeyed hash or error
- Malformed query parameters may result in a 400 bad request
- Network timeout on the Tailscale-hosted endpoint

## How this service works

HMAC a string. ?algo=sha256&key=k&input=hello

## Output

Returns the computed HMAC digest string for the given input, algorithm, and key — typically a hex-encoded authentication code that can be used to verify message integrity or authenticate API requests.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pyfile-toolkit-hmac-generator-3f68f837/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)
