Object MachineIdGenerator
-
- All Implemented Interfaces:
public class MachineIdGeneratorProvides secure access to the machine id - a stable identifier associated with the current machine. The machine id is hashed with the given salt, purpose and username.
Note: Taken from ultimate monorepo: com.intellij.internal.statistic.eventLog.fus.MachineIdManager
-
-
Field Summary
Fields Modifier and Type Field Description public final static MachineIdGeneratorINSTANCE
-
Method Summary
Modifier and Type Method Description final static StringgetAnonymizedMachineId(String purpose, String salt)-
-
Method Detail
-
getAnonymizedMachineId
final static String getAnonymizedMachineId(String purpose, String salt)
- Parameters:
purpose- What id will be used for.- Returns:
anonymized machine id or
nullif getting machine id was unsuccessful.
-
-
-
-