Blum Blum Shub Article Index for
Blum
Website Links For
Pseudorandom
 

Information About

Blum Blum Shub




BBS takes the form:

x


where M=pq is the product of two large Primes ''p'' and ''q''. At each step of the algorithm, some output is derived from ''x''''n''; the output is commonly either the Bit Parity of ''x''''n'' or one or more of the least significant bits of ''x''''n''.

The two primes, ''p'' and ''q'', should both be Congruent to 3 (mod 4) (this guarantees that each Quadratic Residue has one Square Root which is also a quadratic residue) and Gcd ( φ (''p''-1), φ(''q''-1)) should be small (this makes the cycle length large).


SECURITY

The generator is not appropriate for use in simulations, only for Cryptography , because it is not very fast. However, it has an unusually strong security proof, which relates the quality of the generator to the Computational Difficulty of Integer Factorization . When the primes are chosen appropriately, and O ( Log log ''M'') bits of each ''xn'' are output, then in the limit as ''M'' grows large, distinguishing the output bits from random will be at least as difficult as factoring ''M''.

If Integer Factorization is difficult (as is suspected) then BBS with large ''M'' will have an output free from any nonrandom patterns that can be discovered with any reasonable amount of calculation. This makes it as secure as other encryption technologies tied to the factorization problem, such as RSA Encryption .


REFERENCES

  • Lenore Blum, Manuel Blum, and Michael Shub. "A Simple Unpredictable Pseudo-Random Number Generator", ''SIAM Journal on Computing'', volume 15, pages 364–383, May 1986.

  • Lenore Blum, Manuel Blum, and Michael Shub. "Comparison of two pseudo-random number generators", ''Advances in Cryptology: Proceedings of Crypto '82''. Available as PDF .

  • Pascal Junod, "Cryptographic Secure Pseudo-Random Bits Generation: The Blum-Blum-Shub Generator", August 1999. 21 page PDF file

  • Martin Geisler, Mikkel Krøigård, and Andreas Danielsen. "About Random Bits", December 2004. Available as PDF and Gzipped Postscript .



EXTERNAL LINKS

  • GMPBBS - a GMP -based implementation of Blum Blum Shub.