Window.crypto

The Window.crypto read-only property returns the Crypto object associated to the global object. This object allows web pages access to certain cryptographic related services.

SyntaxEdit

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

SpecificationsEdit

Specification Status Comment
Web Cryptography API
The definition of 'Window.crypto' in that specification.
Candidate Recommendation Initial definition

Browser compatibilityEdit

Feature Chrome Firefox (Gecko) Internet Explorer Edge Opera Safari
Basic support 44 (Yes) (Yes) 6 ms 20 19 (Yes)

See alsoEdit

Document Tags and Contributors

 Last updated by: Sebastianz,