Statistical Test
- •
Definition
- •
an efficient algorithm that takes an -bit string and outputs 0 ("doesn't look random") or 1 ("looks random")
- •
- •
- •
Note
- •
statistical tests can be arbitrarily clever or arbitrarily silly (e.g. a test that always outputs 0, or one fooled by the all-1s string) — a fixed battery of ad hoc tests is not a good security definition, since it's always possible a generator passes every test in the battery yet is still broken by some other test
- •
- •
- •
Definition of a secure PRG
- •
is secure if every efficient statistical test has negligible advantage against it — not just a fixed battery, but literally every efficient algorithm
- •
- •
Open problem
- •
no PRG has ever been proven secure under this definition — doing so would imply ; the field instead relies on well-studied heuristic candidates that have resisted decades of cryptanalysis
- •
- •