80trust / 100

Hmac

by Tanod utilpeek in Email & messaging

x402 APIPassing, checked 3 h ago

utilpeek (Tanod) HMAC: sign a message or verify a webhook signature (sha256, sha512 or sha1).

POST https://tanod.dev/v1/hmac

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
285 ms typical, 730 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/hmac' \
  -H 'content-type: application/json' \
  --data-raw '{"algorithm":"sha256","key":"It'\''s a Secret to Everybody","message":"Hello, World!","mode":"sign"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fhmac
const res = await pay("https://tanod.dev/v1/hmac", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"algorithm\":\"sha256\",\"key\":\"It's a Secret to Everybody\",\"message\":\"Hello, World!\",\"mode\":\"sign\"}",
});
console.log(await res.json());

Example input

{
  "algorithm": "sha256",
  "key": "It's a Secret to Everybody",
  "message": "Hello, World!",
  "mode": "sign"
}

Example output

{
  "algorithm": "sha256",
  "output": "hex",
  "signature": "757107ea0eb2509fc211221cce984b8a37570b6d7586c22c46f4379c8b043e17"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402780 ms$0.001
7 h agoPassed402285 ms$0.001
11 h agoPassed402268 ms$0.001
14 h agoPassed402300 ms$0.001
19 h agoPassed402270 ms$0.001
22 h agoPassed402294 ms$0.001
26 h agoPassed402279 ms$0.001
29 h agoPassed402270 ms$0.001
33 h agoPassed402270 ms$0.001
36 h agoPassed402285 ms$0.001
40 h agoPassed402260 ms$0.001
44 h agoPassed402262 ms$0.001
2 days agoPassed402358 ms$0.001
2 days agoPassed402730 ms$0.001
2 days agoPassed402347 ms$0.001