La proprietà di sola lettura Window.crypto
ritorna l'oggetto Crypto
associato all'oggetto globale. Questo oggetto permette alle pagine web di accedere al alcuni servizi si crittografia.
Sintassi
var cryptoObj = window.crypto || window.msCrypto; // per IE 11
Specifiche
Specifica | Stato | Commenti |
---|---|---|
Web Cryptography API The definition of 'Window.crypto' in that specification. |
Recommendation | Initial definition |
Compatibilità con i browser
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Edge | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 44 (Yes) | (Yes) | 6 ms | 20 | 19 | (Yes) |
Feature | Chrome for Android | Firefox Mobile | Firefox OS | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Guarda anche
- L'oggetto globale
Window