Crypto.subtle

More detail on what “your tests” constitute and what you define as “not working” would be extremely helpful to anybody attempting to assist your cause.

I haven’t dealt with this issue in a couple of years, so things may have changed, but one potential pitfall that used to be a concern is that the Promises that crypto.subtle returns are not zone-aware, so if you are trying to use them in an Angular app (I have no idea how other frameworks handle this), you need to zonify them.

The method that I settled on as being most futureproof (i.e. “does not rely explicitly on zone.js being present”) is to simply wrap them inside a Promise.resolve in your code. See here for an example.