hmac

Pack: hash · Endpoint: https://gateway.pipeworx.io/hash/mcp

Compute an HMAC (hex) of text with a secret key. algorithm = sha1, sha256 (default), sha384, or sha512. Keyless/offline.

Parameters

NameTypeRequiredDescription
textstringyesThe message to authenticate.
keystringyesThe secret key.
algorithmstringnosha1 | sha256 (default) | sha384 | sha512.

Example call

Arguments

{
  "text": "message to authenticate",
  "key": "secret-key-123"
}

curl

curl -X POST https://gateway.pipeworx.io/hash/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hmac","arguments":{"text":"message to authenticate","key":"secret-key-123"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hmac', {
  "text": "message to authenticate",
  "key": "secret-key-123"
});

More examples

{
  "text": "api request body",
  "key": "shared-secret",
  "algorithm": "sha256"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hash": {
      "url": "https://gateway.pipeworx.io/hash/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 15, 2026