Added docs for hmac function