Tag Archives: window.crypto.subtle = undefind

JS Error: window.crypto.subtle = undefind [How to Solve]

Error reporting when using JS encryption function: window.crypto.subtle = undefind

Then the normal should be like this, with a substle attribute missing

At first, I suspected that there was a problem with JS, but I found that the same was true of my other sites  , This is a page, and JS loads a JQ. (using Tencent cloud server) I doubt my life. Is there a problem with my server configuration???

It can only be used in HTTPS sites, but not in HTTP sites.