The Crypto interface allows access to a cryptographically strong random number generator and cryptographic primitives.

Crypto.subtle Returns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption, or decryption.

Crypto.getRandomValues() Fills the passed TypedArray with cryptographically sound random values.

Crypto.randomUUID() Returns a randomly generated, 36 character-long v4 UUID.

For more information on Crypto visit MDN Web Docs.