Generates a random RFC 4122 version 4 UUID. The UUID is generated using a cryptographic pseudorandom number generator.
This function internally uses the randomUUID function from the node:crypto module.
randomUUID
node:crypto
The UUID instance corresponding to the generated UUID
UUID
Optional
Options to pass to the generator
Generated using TypeDoc
Generates a random RFC 4122 version 4 UUID. The UUID is generated using a cryptographic pseudorandom number generator.
This function internally uses the
randomUUID
function from thenode:crypto
module.Returns
The
UUID
instance corresponding to the generated UUID