randomUUID

external fun randomUUID(options: RandomUUIDOptions = definedExternally): UUID(source)

Generates a random RFC 4122 version 4 UUID. The UUID is generated using a cryptographic pseudorandom number generator.

Since

v15.6.0, v14.17.0