4 ms·
From user eridius a couple days ago: "It's checking for window.crypto.subtle. Looks like Safari TP supports this. I believe the problem with Safari 10 is that i
by sp332 9y ago
From user eridius a couple days ago: "It's checking for window.crypto.subtle. Looks like Safari TP supports this. I believe the problem with Safari 10 is that it implemented an older version of the web cryptography standard." https://news.ycombinator.com/item?id=14904307 https://news.ycombinator.com/item?id=14904307
- falcolas 9y agoWell, it looks like Safari (and edge) do support it, but not the AES-GCM key type. https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt... I'll leave it up to someone wiser than me to indicate if this is the proper choice. AES-GCM key type with a length of 128.
- aaomidi 9y agoAES-GCM is great tbh. Authenticated encryption built into one.
- eridius 9y agoSafari 10 supports an older version of Web Cryptography. 2 weeks ago on the WebKit Blog there was a post about the current state of Web Cryptography and the differences between the older version (that Safari 10 supports) and the new version (that Safari Technical Preview supports). And it says that the older Web Cryptography only supported AES-CBC but the new one supports AES-GCM. https://webkit.org/blog/7790/update-on-web-cryptography/ https://webkit.org/blog/7790/update-on-web-cryptography/