HMAC Generator

Generate a keyed-hash message authentication code.

About the HMAC Generator

HMAC (keyed-hash message authentication code) is a type of message authentication code (MAC) involving a cryptographic hash function in combination with a secret key. It is used to simultaneously verify both the data integrity and the authentication of a message. This tool allows you to generate HMAC signatures for a given message and secret key using common algorithms like SHA-256 and SHA-512, all securely within your browser.

How to Use This Tool

  1. Enter Message: Type or paste the message you want to sign.
  2. Enter Secret Key: Provide the secret key to be used for the HMAC generation.
  3. Select Algorithm: Choose either SHA-256 or SHA-512 as the hash algorithm.
  4. Generate & Copy: The HMAC signature will be generated automatically. Click the copy button to use it.