La propriété, en lecture seule, Window.crypto
retourne l'objet Crypto
associé à l'objet global. Cet objet permet aux pages web d'avoir un accès à certains services liés à cryptographie.
Syntaxe
var cryptoObj = window.crypto || window.msCrypto; // pour IE 11
Spécifications
Spécification | Statut | Commentaire |
---|---|---|
Web Cryptography API La définition de 'Window.crypto' dans cette spécification. |
Recommendation | Définition initiale |
Compatibilité navigateur
Nous convertissons les données de compatibilité dans un format JSON.
Ce tableau de compatibilité utilise encore l'ancien format
car nous n'avons pas encore converti les données qu'il contient.
Vous pouvez nous aider en contribuant !
Fonctionnalité | Chrome | Firefox (Gecko) | Internet Explorer / Edge | Chrome Opera Vivaldi | Safari |
---|---|---|---|---|---|
Support de base | 44 (Oui) | (Oui) | 6 -ms | 19 | (Oui) |
Fonctionnalité | Chrome for Android | Firefox Gecko Mobile | Firefox OS | Internet Explorer / Edge | Opera for Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Support de base | (Oui) | (Oui) | 2 (Oui) | 10 (Oui) | 37 (Oui) | (Oui) |
Voir aussi
- L'objet global
Window