Package rife.tools

Class UniqueIDGenerator

java.lang.Object
rife.tools.UniqueIDGenerator

public final class UniqueIDGenerator extends Object
Generates a 216 bit unique ID that is more secure than the standard 128 bit UUID, which has an effective 122 bits of entropy.

This UniqueID has the same string representation length, meaning that it can be a drop-in replacement for the standard UUID string.

Since:
1.0
  • Method Details

    • generate

      public static UniqueID generate()