HMAC Generator

Generate HMAC signatures from a message and secret key.

Message
Secret Key
All examples use BASE_URL — set it to your deployment URL.
POST/api/hmac
Generate an HMAC signature. Supports sha256, sha512, sha1, md5.
const res = await fetch(`${BASE_URL}/api/hmac`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ message: "hello world", secret: "my-secret-key", algorithm: "sha256" }) }); // → { success: true, hmac: "734c...", algorithm: "sha256" }