Implementation of rfc5849 hmac wrapper