3 ms·
Others have already addressed the impossibility of exhausting the system entropy pool, however, I would add that you can buffer Read() to amortize the cost of t
by jrpelkonen 2y ago
Others have already addressed the impossibility of exhausting the system entropy pool, however, I would add that you can buffer Read() to amortize the cost of the syscall.
Also, make sure that your patch does not introduce a secure vulnerability as math/rand output is not suitable for anything security related.