diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index 8032dad898658b..799cfd56431e5e 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -361,6 +361,16 @@ filled with random values, and a reference to `typedArray` is returned. An error will be thrown if the given `typedArray` is larger than 65,536 bytes. +### `crypto.randomUUID()` + + +* Returns: {string} + +Generates a random [RFC 4122][] Version 4 UUID. The UUID is generated using a +cryptographic pseudorandom number generator. + ## Class: `CryptoKey`