Added method to generate HMAC SHA1