Fixed bug in HMAC string generation