Firefox Tomorrow

web api interface

Crypto

View on MDN ↗

Available in workers

The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.

The Crypto is available in windows using the crypto property and in workers using the crypto property.

Instance properties

  • subtle Read only
    • : Returns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption, or decryption.

Instance methods

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also