Generates an HMAC hash from an HTTP request.