HMAC

HMAC Signature Generator

Generate HMAC-SHA signatures with multiple SHA algorithms and output formats

Signature Settings

HMAC is a one-way signature algorithm. It cannot be decrypted, but you can generate or verify signatures.

Current Rule
HMAC-SHA256
BASE64 output

Secret Key

Enter the secret key used to generate or verify the HMAC signature.

Length: 17 bytes

Message

Enter the original message to generate or verify the signature.

Chars: 58Lines: 3

Signature Result

Click the result content or copy button to copy.

Chars: 0Lines: 0
HMAC-SHA256 BASE64
No generated signature

Common Examples

Click an example to quickly fill the settings.

How to Use

HMAC is a signature algorithm

HMAC cannot be decrypted. It can only be recalculated with the same key and message for comparison.

Multiple SHA algorithms

Supports SHA-1, SHA-256, SHA-384 and SHA-512. SHA-256 or SHA-512 is commonly used for API signatures.

Generate and verify

Generate mode creates a signature. Verify mode compares the recalculated signature with an expected one.

Related Tools

Useful tools in the same category.