Added support for HMAC