Changed underlying HMAC algo. to sha512.