Hardware Security public cryptography How Public Key Cryptography Actually Works An HMAC takes the key K and the message M…