- Pseudorandomness
A pseudorandom process is a process that appears random but is not. Pseudorandom sequences typically exhibit
statistical randomness while being generated by an entirely deterministic causal process. Such a process is easier to produce than a genuine random one, and has the benefit that it can be used again and again to produce exactly the same numbers, useful for testing and fixing software.To generate truly random numbers requires the measurements of non-deterministic processes. The open source operating system Linux uses various system timings(like user keystrokes, I/O, or least-significent digit voltage measurements) to produce a pool of random numbers. It attempts to constantly replenish this pool and, assuming its entropy doesn't fall beneath a certain level, will issue a random number. This system is similar to those of dedicated hardware random number generators.
History
The generation of random numbers has many uses (mostly in
statistics , for random sampling, andsimulation ). Before modern computing, researchers requiring random numbers would either generate them through various means (dice , cards,roulette wheels, etc.) or use existing random number tables.The first attempt to provide researchers with a ready supply of random digits was in 1927, when the Cambridge University Press published a table of 41,600 digits developed by Leonard H.C. Tippet. In 1947, the RAND Corporation generated numbers by the electronic simulation of a roulette wheel; the results were eventually published in 1955 as "
A Million Random Digits with 100,000 Normal Deviates ".John von Neumann was a pioneer in computer-based random number generators. In1951 ,Derrick Henry Lehmer invented thelinear congruential generator , used in mostpseudorandom number generator s today. With the spread of the use of computers, algorithmic pseudorandom number generators replaced random number tables, and "true" random number generators (Hardware random number generator s) are only used in a few cases.Almost random
:"Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin." —
John von Neumann (1951 )A pseudo-random variable is a variable which is created by a deterministic procedure (often a computer program or subroutine) which (generally) takes random bits as input. The pseudo-random string will typically be longer than the original random string, but less random (less entropic, in the
information theory sense). This can be useful for randomized algorithms.Pseudorandom number generator s are widely used in such applications as computer modeling (e.g.,Markov chain s), statistics, experimental design, etc. Some of them are sufficiently random to be useful in these applications. Many are not, and considerable sophistication is required to correctly determine the difference for any particular purpose. Incautious use of readily available random number generators has caused considerable, and long sustained, damage to the worth of large numbers of research projects for many years. TheRANDU generator routine available on many largemainframe computer s for decades had considerable, widely unappreciated, faults.Complexity-based pseudorandomness
A distribution is considered to be pseudorandom if it cannot be distinguished from the truly (Uniform) random distribution by any efficient (polynomial time) procedure or circuit. The uniform distribution, for a length parameter "n" assigns each "n"-bit string with equal probability of . Pseudorandom distributions can be generated
deterministic ally from short randomseeds , which are much shorter than the length of the pseudorandom output.A method for distinguishing two distributions from each other is by taking their
statistical distance . If two distributions and have a very small statistical distance , there exists no circuit, S, such that S can distinguish them well, even with no restriction on the size of S (where denotes the L1 norm, seetaxicab geometry ). Also, if the size of S is too small then it may not be able to distinguish some distributions that are very different.Definition
A distribution ensemble is pseudorandom if, for any circuit of size , with as the uniform random distribution, then
:::
is called pseudorandom if it is pseudorandom for all and . This definition of pseudorandomness is used primarily in the study of
pseudorandom generator s.Cryptography
:"See also:
Cryptographically secure pseudorandom number generator "For such applications as
cryptography , the use of pseudorandom number generators (whether hardware or software or some combination) is insecure. When random values are required in cryptography, the goal is to make a message as hard to crack as possible, by eliminating or obscuring the parameters used to encrypt the message (the key) from the message itself or from the context in which it is carried. Pseudorandom sequences are deterministic and reproducible; all that is required to discover and reproduce a pseudorandom sequence is the algorithm used to generate it and the initial seed. So the entire sequence of numbers is only as powerful as the randomly chosen parts - sometimes the algorithm and the seed, but usually only the seed.There are many examples in cryptographic history of cyphers, otherwise excellent, in which random choices were not random enough and security was lost in direct consequence. The
World War II Japan esePURPLE cypher machine used for diplomatic communications is a good example. It was consistently broken throughout WWII, mostly because the "key values" used were insufficiently random. They had patterns, and those patterns made any intercepted traffic readily decryptable. Had keys (ie, the initial settings of the stepping switches in the machine) been made unpredictably (ie, randomly), that traffic would have been much harder to break, and perhaps even secure in practice.Fact|date=July 2007Users and designers of cryptography are strongly cautioned to treat their randomness needs with the utmost care. Absolutely nothing has changed with the era of computerized cryptography, except that patterns in pseudorandom data are easier to discover than ever before. Randomness is, if anything, more important than ever.
Monte Carlo method simulations
A
Monte Carlo method Simulation is defined as any method that utilizes sequences of random numbers to perform the simulation. Other simulations include quantum chromo dynamics, radiation cancer therapy, traffic flow,stellar evolution and VLSI design. All these simulations require the use of random numbers and thereforepseudorandom number generator s, which makes creating random-like numbers very important.An easy example of how a computer would do a Monte Carlo method Simulation is the calculation of π. If a square enclosed a circle and a point were randomly chosen inside the square the point would either lie inside the circle or outside it. If the process were repeated many times, you can see that the ratio of the random points that lie inside the circle to outside it is proportional to ratio of the circle area to the square area. From this we can estimate π.
ee also
*
Disperser
*Expander graph
*Extractor
*Random variable
*PN Sequences
*Pseudo-random binary sequence
*Pseudorandom number generator
*List of random number generators External links
* [http://www.fourmilab.ch/hotbits HotBits: Genuine random numbers, generated by radioactive decay]
* [http://www.bookrags.com/sciences/sciencehistory/random-numbers-wsd.html Random number history]
* [http://www.merrymeet.com/jon/usingrandom.html Using and Creating Cryptographic-Quality Random Numbers]
* In RFC 1750, the use of pseudo-random number sequences in cryptography is discussed at length.
* In Donald E. Knuth,The Art of Computer Programming , Volume 2: Seminumerical Algorithms (3rd edition), 1997. Addison-Wesley Professional, ISBN 0-201-89684-2
Wikimedia Foundation. 2010.