The Crypto.subtle read-only property returns a SubtleCrypto object allowing to perform cryptographical operations.

Syntax

var crypto = crypto.subtle;

Specifications

Specification Status Comment
Web Cryptography API
The definition of 'Crypto.subtle' in that specification.
Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support3712

34

32 — 341

1124

10.1

7 webkit

FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support373712

34

32 — 341

24

10.1

7 webkit

Yes

1. From version 32 until version 34 (exclusive): this feature is behind the dom.webcrypto.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

See also

Document Tags and Contributors

Last updated by: fscholz,