sharing `Utils.toHex` implementation caused a HMAC regression