Webhook signature compute

webhook-signature-compute · version 1.0.0 · Hashing & signatures · free, no key needed

Compute a signed webhook header for Stripe, Slack, Standard Webhooks, Twilio, GitHub or Shopify.

Use when you need to: sign a test webhook payload like stripe would · generate a fake but valid slack signature for testing · compute x-hub-signature-256 for github.

Decide before calling

Read the versioned contract and the supported scope below. Reuse webhook-signature-compute@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use webhook-signature-compute@1.0.0 for sign a test webhook payload like stripe would. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "scheme": "github",
  "payload": "{\"zen\":\"Non-blocking is better than blocking.\"}",
  "secret": "test-secret"
}

Response:

{
  "result": {
    "scheme": "github",
    "headers": [
      {
        "name": "X-Hub-Signature-256",
        "value": "sha256=6227df376409e5e6097374f5a7e8f28f40faf1aa9b7c83df6d70b59eb087f476"
      }
    ],
    "signature": "sha256=6227df376409e5e6097374f5a7e8f28f40faf1aa9b7c83df6d70b59eb087f476"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "webhook-signature-compute",
  "version": "1.0.0",
  "input": {
    "scheme": "github",
    "payload": "{\"zen\":\"Non-blocking is better than blocking.\"}",
    "secret": "test-secret"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/webhook-signature-compute/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"scheme":"github","payload":"{\"zen\":\"Non-blocking is better than blocking.\"}","secret":"test-secret"}'

The machine-readable contract is at /v1/tools/webhook-signature-compute/versions/1.0.0.

CLI

node cli.mjs run webhook-signature-compute 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.