Scheleton for hmac authentication