Skip to main content
Toolbox
Security & Crypto

HMAC Generator & Signature Verifier

Calculate and verify cryptographically secure HMAC-SHA256, SHA-512, SHA-384, SHA-1, and MD5 signatures.

Quick Answer & Summary

An HMAC (Keyed-Hash Message Authentication Code) generator computes a cryptographic digest by hashing a message combined with a secret cryptographic key, ensuring both data integrity and authentication.

RFC 2104 HMAC Formula
HMAC(K, m) = H((K' ⊕ opad) ∥ H((K' ⊕ ipad) ∥ m))

Where H is the cryptographic hash function, K' is the normalized key, opad = 0x5c5c... and ipad = 0x3636... are outer and inner padding constants, and ∥ denotes concatenation.

HMAC Algorithm Settings
Zero Server Telemetry

Message / Payload Data

Secret Key

Share This Tool

Help your team and fellow developers save time with free, private client-side utilities.

TB
Toolbox Editorial TeamVerified Authors

Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools

Updated:
100% In-BrowserZero server storage
Standards AuditedRFC & ISO compliant
Peer ReviewedEditorial Policy
Documentation & Guide

How to Use HMAC Generator & Signature Verifier

1

Enter Payload & Secret Key

Paste your request body, JSON payload, or query string alongside your shared secret key.

2

Select Hash & Encoding

Choose SHA-256 (standard), SHA-512, or SHA-1 with Hex or Base64 output formatting.

3

Copy Signature or Verify Webhook

Copy the computed hash to your authorization header or switch to Verify mode to test inbound payloads.

Practical Examples & Conversions

Input
Key: whsec_abc123, Msg: t=1614556800,v1={"id":"evt_123"}
Output
Computes hex digest for Stripe-Signature header matching

Frequently Asked Questions (PAA)

Related Tools & Converters

Authoritative Standards & Citations

Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications: