Pseudorandomness means that specified tests cannot effectively distinguish a generated distribution from a genuinely random reference distribution. The allowed tests and their advantage are part of the definition. Passing a few frequency tests does not imply security against every feasible computation.
A pseudorandom generator expands a uniformly chosen -bit seed to bits. For a test , its distinguishing advantage is
Here denotes a uniformly sampled -bit string. There are at most generated strings, so an unrestricted test for membership in the generator's range distinguishes with advantage at least . The useful claim is therefore computational indistinguishability for a restricted test class, not equality of the two distributions. Such a generator can replace random choices in an algorithm when the relevant computation is among the tests it fools.[ref]
Two indexed families of probability distributions and are computationally indistinguishable when every allowed efficient test has only negligible distinguishing advantage:
Here negligible means eventually smaller than for every fixed positive . The probabilities include the sampled input and the test's randomness; the model must specify whether tests are uniform algorithms or nonuniform Boolean circuits.
The claim limits an observer's power. Two distributions can be far apart for an unrestricted observer yet indistinguishable to polynomial-time observers. This is the security goal for a pseudorandom generator: its output should look uniform even though a short seed reaches only a small fraction of all possible outputs.[ref]
A pseudorandom generator is a deterministic, efficiently computable function with , whose output on a uniform seed is computationally indistinguishable from a uniform -bit string. Its security is relative to a specified class of tests.
For example, suppose a generator maps 128 seed bits to 256 output bits. Its range contains at most strings out of possibilities. Enumerating the range would distinguish it almost perfectly, but requires infeasible work at this size. A secure construction must resist efficient tests that avoid enumeration as well. Merely copying the seed twice fails immediately: a test compares the two halves. Useful generators enable randomized algorithms or cryptographic protocols to expand a limited supply of random seed material.[ref]

Articles by others on the same topic (1)

Pseudorandomness refers to the property of sequences of numbers that appear to be random but are generated by a deterministic process, typically using algorithms. These sequences are called pseudorandom sequences, and they are produced by mathematical algorithms known as pseudorandom number generators (PRNGs).