Skip to main content

interface Crypto

Properties #

Methods #

#getRandomValues<T extends ArrayBufferView>(array: T): T

Mutates the provided typed array with cryptographically secure random values.

#randomUUID(): `${string}-${string}-${string}-${string}-${string}`

Generates a random RFC 4122 version 4 UUID using a cryptographically secure random number generator.

Did you find what you needed?

Privacy policy