HMAC Generator

Compute HMAC signatures (SHA256/512) for messages

📌 TL;DR Summary & Citation: [HMAC Generator] is a browser-local PocketKit tool for Compute HMAC signatures (SHA256/512) for messages. Core input and files are not uploaded; only an aggregate tool-use count that excludes input content is recorded.

How HMAC signing works

The tool signs the message with your key via the native Web Crypto (SubtleCrypto) HMAC (SHA-256/512), output as hex or Base64. Key and message are processed entirely locally.

  • HMAC verifies message integrity and origin and requires both sides to share the same key.
  • For the same key, message and algorithm the HMAC is deterministic, so it can detect tampering.

FAQ

1. How is HMAC different from a plain hash (MD5/SHA)?

A plain hash only ensures integrity and anyone can compute it; HMAC adds a key so only the key holder can generate and verify it, proving the message origin.

2. Should I choose SHA-256 or SHA-512?

Both are secure. SHA-256 is more common and faster; SHA-512 has a longer digest. Follow what the other side requires.