Definition: Let be a sequence of distributions over -bit strings. is pseudorandom if for every probabilistic, polynomial-time algorithm , there is a negligible function such that
Definition. Let be a polynomial and let be a deterministic polynomial-time algorithm such that for any and any input , is a string of length .
We say that is a pseudorandom generator if the following hold:
Expansion: For every it holds that . We call the expansion factor of .
Pseudorandomness: For any PPT algorithm , there is a negligible function such that
where the first probability is over uniform choice of and the randomness of , and the second is over uniform choice of and the randomness of .
The Linear Congruential Generator is a simple Pseudo-Random Generator, that is in general not cryptographically secure.
Parameters.
The Linear Congruential Generator generates a sequence of pseudo-random numbers via:
The Blum Blum Shub Generator is a cryptographically secure pseudo-random bit generator.
Parameters.
The Blum Blum Shub generator generates a sequence of pseudo-random bits via:
— Feb 3, 2023
Made with ❤ at Earth.