I have a pseudorandom number generator (PRNG) with nice properties which uses six UInt32s as state. I need to come up with a reasonable way to seed it. Two obvious possibilities are: 1) generate six random numbers using System.Random and use them as seeds; 2) generate two GUIDs with Guid.NewGuid(). Which would be better?
I do not need cryptographic security.
If it needs
UInt32, thenRandomis more convenient? justNext(),Next(),Next()etc (and cast)… (use the sameRandominstance however – don’t createnew Random()each time).It depends on what the intent is as to whether this offers enough randomness. Since this is just the seed, it should be OK…