interface Crypto
Properties #
#subtle: SubtleCrypto
readonly
Methods #
#getRandomValues<T extends Int8Array
| Int16Array
| Int32Array
| Uint8Array
| Uint16Array
| Uint32Array
| Uint8ClampedArray
| BigInt64Array
| BigUint64Array>(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.