|
|
|
|
|
by mike-cardwell
4442 days ago
|
|
Ah. You appear to be right. I'm glad I asked now. [edit] I'm going to skip using the Mersenne twister engine and just use std::random_device for all random data, instead of as a seed. It seems on Linux at least that random_device is basically /dev/urandom. I assume the source will be sane on other OS's too. |
|
boost::random_device, on the other hand, has better guarantees: it is only implemented where there's a decent entropy source.