HMAC - Hash-based Message Authentication Code
Hash-based Message Authentication Code (HMAC) is a specific type of message authentication code (MAC) involving a cryptographic hash function and a secret cryptographic key. It is used to verify both the data integrity and the authenticity of a message at the same time. HMACs are almost always used in combination with a public key encryption system. The HMAC process mixes a secret key with the message data, hashes the result with the hash function, mixes that hash value with the secret key again, and then applies the hash function a second time.
The output hash is typically used to verify the integrity of data being transmitted over an insecure network, ensuring it hasn't been tampered with. The strength of an HMAC lies in the complexity of the cryptographic hash function, the size of the cryptographic key, and the properties of the underlying hash function. HMACs are widely used in various security protocols, such as IPsec and SSL/TLS, for data integrity and authenticity verification.
Supported hash type:
- MD5
- SHA-1
- SHA-256
- SHA-384
- SHA-512
- SHA3-224
- SHA3-256
- SHA3-384
- SHA3-512