# Hmac Generate — REST API endpoint `hmac-generate`

Compute an HMAC of a message with a secret key. Returns hex digest.

- Category: encoding
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/hmac-generate/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/hmac-generate/
- Same tool on the other surface: https://findutils.com/mcp/hmac-generate/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/hmac-generate/execute \
  -H "Content-Type: application/json" \
  -d '{
    "message": "hi",
    "secret": "k",
    "algorithm": "SHA-256"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/hmac-generate
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `message` | string | yes | The message to authenticate. |
| `secret` | string | yes | The secret key. |
| `algorithm` | string (SHA-256 \| SHA-512) | no | HMAC algorithm. Defaults to SHA-256. Default: `"SHA-256"`. |

Example arguments (verified):

```json
{
  "message": "hi",
  "secret": "k",
  "algorithm": "SHA-256"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:hmac_generate`. Full MCP reference: https://findutils.com/mcp/hmac-generate/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
