Changed hmac algorithm so that it depends on verb