Generate a keyed hash (HMAC) from a secret and a message using the Web Crypto API. Choose the hash and read the result in hex and Base64.
Verifying message integrity and authenticity — webhooks, API signatures and tokens use HMAC to prove a message wasn't tampered with.
No. HMAC mixes in a secret key, so unlike a bare SHA-256 it can't be forged without the key.
No — the HMAC is computed in your browser via Web Crypto and nothing leaves the page.