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

Hierarchy

  • Crypto

Properties

Methods

Properties

subtle: SubtleCrypto

Available only in secure contexts.

Methods

  • Type Parameters

    Parameters

    • array: T

    Returns T

  • Available only in secure contexts.

    Returns string