Closed achingbrain closed 5 years ago
yes that's the limit of getRandomValues, the browser api we use
I see - why not request multiples of 65536 and join the buffers together?
@achingbrain PR accepted I suppose
This should have been closed by #16 I believe.
It looks like this library limits the number of random bytes you can request to 65536. Node limits it to the max value of an unsigned 32 bit integer.
Is there any reason for the discrepancy?