randomUUID

abstract fun randomUUID(): UUID

Crypto: randomUUID

From MDN: "The randomUUID method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator."

Return

String-like value containing a randomly generated, 36-character long v4 UUID.