An exploration of Python's random module for the curious programmer, this talk will give a little background in statistics and pseudorandom number generation, explain the properties of python's choice of pseudorandom generator and explore through visualizations the different distributions provided by the module.
58. Conclusions
• The definition of randomness is more a philosophical than a mathematical
problem.
• But we can use mathematical definitions that are useful for our purposes.
• If we need sequences that are deterministic, but behave as if random, we can
use pseudo-random number generation.
• If we need numbers that are completely unpredictable, we need sources of
entropy like input devices, noise measurements or other external sources.
• For most of our random number needs, python provides more than adequate
capabilities.
60. 10 PRINT CHR$(205.5+RND(1)); : GOTO 10
By Nick Montfort, Patsy Baudoin, John Bell, Ian Bogost,
Jeremy Douglass, Mark C. Marino, Michael Mateas,
Casey Reas, Mark Sample and Noah Vawter
61. The art of computer programming, Volume 2
Seminumerical Algorithms
62. On randomness in cryptography!
http://blog.cloudflare.com/why-randomness-matters
On random number generators testing!
http://www.fourmilab.ch/hotbits/statistical_testing/stattest.html
On the possible NSA backdoor into RSA’s random number generator!
http://arstechnica.com/security/2014/01/how-the-nsa-may-have-put-a-backdoor
rsas-cryptography-a-technical-primer/