Crypto.subtle
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The Crypto.subtle
read-only property returns a SubtleCrypto
which can then be used to perform low-level cryptographic operations.
Syntax
var crypto = crypto.subtle;
Value
A SubtleCrypto
object you can use to interact with the Web Crypto API's low-level cryptography features.
Specifications
Specification |
---|
Web Cryptography API # Crypto-attribute-subtle |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
subtle |
37 |
12 |
34 |
11 |
24 |
11
7-11.1
|
37 |
37 |
34 |
24 |
11
7-11.3
|
3.0 |
secure_context_required |
60 |
79 |
75 |
No |
47 |
No |
60 |
60 |
No |
47 |
No |
8.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle