I am using kubuntu with a kernel 2.6.38-12-generic
I want to read 16 random numbers from / dev / random at the beginning of my program. However, it blocks after a relatively short time.
How long does it take to populate / dev / random buffer? why it takes so long to fill.
I use this as an uuid generator with other sources of randomness added to the seed of my mersenne twister. It is very important that I do not receive duplicate or duplicate seeds.
If I switch to / dev / urandom, it works fine. Any kind of use of / dev / random over / dev / urandom.
source
share