Interface Crypto
interface Crypto {
subtle: SubtleCrypto;
getRandomValues<T extends ArrayBufferView>(array: T): T;
randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
}
subtle: SubtleCrypto;
getRandomValues<T extends ArrayBufferView>(array: T): T;
randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
}
 Index
Properties
Methods
 Methods
getRandomValues  
- getRandomValues<T extends ArrayBufferView>(array: T): T
- Type Parameters- T extends ArrayBufferView
 - Parameters- array: T
 - Returns T
Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
MDN Reference