PRNGs ComparisonprngCompare
OverviewImplementations of a few psuedo-random number generators, and a comparison of their statistical properties. PRNGs Tested
MethodologyEach method was run 20 times generating 1kB files. These files were ran through using the ent program and the results averaged. Lower values equate to 'better' random data. Results![]() Source Code
ConclusionAll the methods had decent distribution, and XORing them together obviously doesn't change that (Just makes it harder to reverse engineer the numbers). I was surprised by the decency of the clock drift data, especially considering how fast it is, although the high serial correlation is irksome (But could probably be eliminated with some trickery). I actually use the included randomScript to generate random passwords for volatile partitions (such as /tmp/ and swap). Last Edited: 2010-10-25 00:58:51
+ Add a comment 4d547d0972045dd645d4e0df3d053c5b2012-02-22 23:25:46.132456 UTC |
Posts
Source Code