File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
javascript/ql/src/Security/CWE-338 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 36
36
<p >
37
37
38
38
For JavaScript in the browser,
39
- <code >RandomSource .getRandomValues</code > provides a cryptographically
39
+ <code >crypto .getRandomValues</code > provides a cryptographically
40
40
secure pseudo-random number generator.
41
41
42
42
</p >
69
69
70
70
<references >
71
71
<li >Wikipedia: <a href =" http://en.wikipedia.org/wiki/Pseudorandom_number_generator" >Pseudo-random number generator</a >.</li >
72
- <li >Mozilla Developer Network: <a href =" https://developer.mozilla.org/en-US/docs/Web/API/RandomSource /getRandomValues" >RandomSource. getRandomValues</a >.</li >
72
+ <li >Mozilla Developer Network: <a href =" https://developer.mozilla.org/en-US/docs/Web/API/Crypto /getRandomValues" >Crypto: getRandomValues() </a >.</li >
73
73
<li >NodeJS: <a href =" https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback" >crypto.randomBytes</a ></li >
74
74
</references >
75
75
</qhelp >
You can’t perform that action at this time.
0 commit comments