window.crypto Questions
19
Solved
When running unit tests with Jest in react the window.crypto API is causing problems. I haven't found a way to incorporate crypto in Jest without installing other packages which is something I can'...
Diazonium asked 2/10, 2018 at 15:58
2
Solved
The following code generates 3 random numbers by using window.crypto.getRandomValues. According to the developer's documentation (Microsoft MSDN and Mozilla MDN), this should work both in IE and in...
Alverson asked 18/5, 2017 at 8:43
3
Solved
How can I get HMAC-SHA512(key, data) in the browser using Crypto Web API (window.crypto)?
Currently I am using CryptoJS library and it is pretty simple:
CryptoJS.HmacSHA512("myawesomedata", "myse...
Jus asked 16/11, 2017 at 12:0
1
I'm trying to hash a string. But what is the alternative for function TextEncoder in IE11 and Safari?
var string = "foobar";
window.crypto.subtle.digest(
{ "name": "SHA-256" },
new TextEncode...
Faceoff asked 15/2, 2016 at 21:27
1
Solved
W3C is working on a http://www.w3.org/TR/WebCryptoAPI/ to define a way to generate digital signatures, encrypton and so on from javascript. Basically defines a new object crypto inside a window obj...
Successful asked 5/9, 2014 at 11:19
1
© 2022 - 2024 — McMap. All rights reserved.