Generate Hash-based Message Authentication Codes (HMAC) for message integrity verification
HMAC (Hash-based Message Authentication Code) combines a secret key with the message to create an authentication code. It's used to verify both data integrity and authenticity. Common uses include API authentication, JWT signatures, and secure cookies.