Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The randomUUID()
method of the Crypto
interface is used to generate a v4 UUID using a cryptographically secure random number generator.