The WebCrypto APIs are usually only available on "secure" origins, meaning that the document must have been loaded over HTTPS or from the local machine (from localhost
, file:
, or a browser extension).
These APIs are specified by the W3C Web Cryptography API Candidate Recommendation.