
1 Jun
2007
1 Jun
'07
9:25 p.m.
Andy wrote:
I will look into using all of the randomness produced by the random digest helper function. I did look at the function mersenne_twister::seed(It& first, It last), but couldn't get it to work. I take another shot at it.
You'll need to do that if you go the static engine route. An easier way to fix the current create() is just to return the digest as-is. A short sequence produced by a freshly seeded RNG is no more random than the seed; nothing is gained (in this case) by passing the digest through the engine.