Fixed HMAC hash bug