random ULID
fun randomULID(timestamp: Long = Clock.System.now().toEpochMilliseconds(), random: SecureRandomGenerator = Companion.random): ULID
Generates a new random ULID from timestamp(ms). If the timestamp omitted, current time will be used.
Return
a new ULID with an entropy.
Parameters
timestamp
timestamp of the newly generated ULID.
random
an instance of SecureRandom that is used to generate an entropy.