CryptologyIV.1 Classic Pseudorandom Generators: Congruential Generators and Feedback Shift Registers |
|
The complete chapter as PDF file
[See also the section on XOR in Part I.]
»Classic« (pseudo-) random generators are algorithms that generate »pseudorandom« numbers or bits for use in statistical applications or simulations instead of »true« random numbers or bits. For this kind of applications their statistical properties are excellent. The standard references are
Solomon W. Golomb, Shift Register Sequences. Revised Edition: Aegean Park Press, Laguna Hills 1982.
Donald E. Knuth, The Art of Computer Programming, Vol.2, Seminumerical Algorithms. Addison-Wesley, Reading Mass. 1969, 1981.
However the requirements of cryptology are much stronger. The methods of cryptanalysis mercilessly reveal the weaknesses of classic pseudorandom generators, and make them useless for naive direct cryptographic application.
This chapter introduces the best known classic pseudorandom generators and derives their most important properties.
The following figure describes a simple model for pseudorandom generation. The state is an element of a set M, changing after each step according to the state transition algorithm M → M. The output (of each step) is an element of an output alphabet Σ.