--- title: Crypto.subtle slug: Web/API/Crypto/subtle translation_of: Web/API/Crypto/subtle ---
{{APIRef("Web Crypto API")}}{{SecureContext_header}}
{{APIRef("Web Crypto API")}}
La propriété Crypto.subtle en mode lecture seule retourne un objet {{domxref("SubtleCrypto")}} permettant de réaliser des opérations cryptographiques.
var crypto = crypto.subtle;
| Spécification | Statut | Commentaire |
|---|---|---|
| {{ SpecName('Web Crypto API', '#dfn-Crypto', 'Crypto.subtle') }} | {{ Spec2('Web Crypto API') }} | Définition initiale. |
{{ CompatibilityTable() }}
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | {{ CompatChrome(37) }} | {{ CompatGeckoDesktop(34) }} | {{ CompatNo() }} | {{ CompatUnknown() }} | {{ CompatNo }} |
| Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | {{CompatVersionUnknown}} | 37 | {{ CompatGeckoMobile(34) }} | {{ CompatNo }} | {{ CompatUnknown() }} | {{ CompatNo }} |