We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
| 1
1 parent 8623234 commit 0241952Copy full SHA for 0241952
src/core.js
@@ -24,7 +24,7 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
24
// Support experimental crypto module in IE 11
25
var crypto = window.crypto || window.msCrypto;
26
27
- return (crypto.getRandomValues(new Uint32Array(1))[0]) | 1;
+ return crypto.getRandomValues(new Uint32Array(1))[0];
28
} catch (err) {}
29
30
throw new Error('Native crypto module could not be used to get secure random number.');
0 commit comments