Login Register






C++ True Random Generator filter_list
Author
Message
RE: C++ True Random Generator #11
Yes, random values may wind up being not random to a human viewer( repeated, etc ), but the odds of that happening significantly over hundreds of thousands of runs is miniscule. The testing for randomness is an interesting field.

I remember one test now {random}\nRand should equal maxRand / 2, with some percentage devation.

Of course, the reason that this particular example is bad has nothing to do with the randomness of the seed, it has to do with the predictability of the seed. The same problem is seen when using the pid as a seed. A malicious user can easily manipulate either one of these.

Reply





Messages In This Thread
C++ True Random Generator - by Night Owl - 12-15-2013, 10:42 PM
RE: C++ True Random Generator - by w00t - 12-15-2013, 11:07 PM
RE: C++ True Random Generator - by Night Owl - 12-15-2013, 11:57 PM
RE: C++ True Random Generator - by The_Joker - 12-16-2013, 12:12 AM
RE: C++ True Random Generator - by Night Owl - 12-16-2013, 12:15 AM
RE: C++ True Random Generator - by w00t - 12-16-2013, 12:23 AM
RE: C++ True Random Generator - by cxS - 12-17-2013, 05:20 AM
RE: C++ True Random Generator - by w00t - 12-17-2013, 05:39 AM
RE: C++ True Random Generator - by cxS - 12-17-2013, 05:52 AM
RE: C++ True Random Generator - by Anizeb - 12-17-2013, 06:03 AM
RE: C++ True Random Generator - by w00t - 12-17-2013, 03:46 PM
RE: C++ True Random Generator - by Azrael - 12-17-2013, 07:22 PM
RE: C++ True Random Generator - by cxS - 12-18-2013, 02:02 AM
RE: C++ True Random Generator - by Azrael - 12-18-2013, 03:20 PM
RE: C++ True Random Generator - by cxS - 12-19-2013, 05:35 AM
RE: C++ True Random Generator - by Azrael - 12-19-2013, 08:58 PM