Prototyped authentication with HMAC