3 ms·
Didn't realize it had full support by every browser, even ie: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#Browser_compatibility http
by thinkloop 8y ago
Didn't realize it had full support by every browser, even ie: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#Browser_compatibility https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getR...
- kbenson 8y agoThe SubtleCrypto portion of the API is slightly less supported in that it appears to have spotty/non-compliant IE and Edge coverage.[1] 1: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto#Browser_compatibility https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt...
- shezi 8y agoThe problem with that table is that this only lists the entry methods, which are supported in all browsers. However, the actual work is hidden behind parameters, not all of which are supported by all browsers, and some have to be in weird combinations. One example is that Edge does not support PBKDF2 in any form, which makes many of their further support a bit weird to use. Here's a site where you can test your browser's compatibility with many combinations: https://diafygi.github.io/webcrypto-examples/ https://diafygi.github.io/webcrypto-examples/
- fzzzy 8y agoI think it uses a cryptofill shim for browsers that don't support all of the crypto api