3 ms·
Bitcoin block hashes would be a decent source of randomness.
by RexetBlell 8y ago
Bitcoin block hashes would be a decent source of randomness.
- Arnt 8y agoI think you mean "might be". There's a passage on the subject in Knuth volume 2. Even Knuth needs to test and debug his code, no matter what how good he thought the results "would be". And his conclusion: Use a mathematical foundation for a PRNG, nothing else will do.
- svat 8y agoIndeed. The passage is from near the beginning of Volume 2 (Chapter 3), where he says how he came up with something that seemed like it should be "super random", tried it, and found that it was not. It ends with: > The moral of this story is that random numbers should not be generated with a method chosen at random. Some theory should be used. and the rest of the chapter proceeds to give some relevant theory.