Window.crypto

Window.crypto只读属性返回与全局对象关联的 Crypto对象。 此对象允许网页访问某些加密相关服务。

语法

var cryptoObj = window.crypto || window.msCrypto; // for IE 11

规范

Specification Status Comment
Web Cryptography API
Window.crypto
Candidate Recommendation Initial definition

浏览器支持

Feature Chrome Firefox (Gecko) Internet Explorer Edge Opera Safari
Basic support 44 (Yes) (Yes) 11 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)

另见

文档标签和贡献者

 此页面的贡献者: Taoja
 最后编辑者: Taoja,