Class UniqueIds

java.lang.Object
com.palantir.tritium.ids.UniqueIds

public final class UniqueIds extends Object
  • Method Details

    • pseudoRandomUuidV4

      public static UUID pseudoRandomUuidV4()
      Returns a pseudo-randomly generated UUID in IETF RFC 4122 v4 format. Note that this should not be used in cases where one must have strong guarantees of cryptographically secure randomness and uniqueness.
    • randomUuidV4

      public static UUID randomUuidV4()
      Returns a unique, cryptographically secure randomly generated UUID in IETF RFC 4122 v4 format.