Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.
readonly
subtle: SubtleCrypto
Available only in secure contexts.
getRandomValues<T extends ArrayBufferView | null>(array: T): T
Available only in secure contexts.