blob: 85b9fa4a8417da16b6488de63b4927667b3c509e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
---
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.
## Syntaxe
var crypto = crypto.subtle;
## Spécifications
| Spécification | Statut | Commentaire |
| ------------------------------------------------------------------------------------ | ---------------------------------------- | -------------------- |
| {{ SpecName('Web Crypto API', '#dfn-Crypto', 'Crypto.subtle') }} | {{ Spec2('Web Crypto API') }} | Définition initiale. |
## Compatibilité navigateur
{{Compat("api.Crypto.subtle")}}
## Voir aussi
- {{domxref("Crypto")}}.
- {{domxref("SubtleCrypto")}}.
|