Interface Crypto

Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.

MDN Reference

Hierarchy

  • Crypto

Properties

Methods

Properties

subtle: SubtleCrypto

Available only in secure contexts.

MDN Reference

Methods

  • Available only in secure contexts.

    MDN Reference

    Returns `${string}-${string}-${string}-${string}-${string}`