Use crypto.getRandomValues() instead of Math.random()
Opened this issue · 0 comments
uPvtkBlpiucvDUf commented
Using Math.random()
here seems wrong given it's not suited for cryptographic purposes
I haven't looked into it very deeply, but it seems to me this is actually used for stuff that should use cryptographically strong random values