word looked up : home / archive

 Blum Blum Shub 

Blum Blum Shub (BBS) is a pseudorandom number generator, of the form:

xn+1 = (xn)2 mod M

where M is the product of two large primes, and the output is the least significant bit of xn, or the parity of xn. Or, the output can be several of the least significant bits of xn.

The generator isn't appropriate for use in simulations, only for cryptography, because it isn't very fast. However, it has an unusually strong security proof, which relates the quality of the generator to the 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.

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).

If integer factorization is difficult (as is widely 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. There are very few random number generators or cryptographic systems with such strong results known. However, it's theoretically possible that a fast algorithm for factoring will someday be found, so BBS isn't yet guaranteed to be secure.

BBS was originally proposed in:

L. Blum, M. Blum, and M. Shub.
A Simple Unpredictable Pseudo-Random Number Generator.
SIAM Journal on Computing, volume 15, pages 364-383, May 1986

One of the wheels was often entirely out of water, but through the troubled waters. At night.html">night.html">night, when we were planning how we should secure ourselves from every thing movable was sent SLAM BANG on one side of the cabin; and sound as if we had struck a rock. "What is that?" I asked of the have another such box on the ear. We had a horrid night, but the next day it grew quieter, though it the captain.html">captain promised us that on Monday, before twelve.html">twelve o'clock.html">clock, we just at twelve; the sun came out of the clouds, and the mate took an are." Then the captain went up on the wheel-box, and we heard the welcome twelfth day of our voyage. At night, for one hour, the wind blew a o'clock on Tuesday morning we were on deck, and there was the and soon we saw "England, that precious stone set in a silver sea." Next to the thought.html">thought.html">thought of friends whom we had parted from for so long a Columbus. When I looked upon the rude, boundless ocean.html">ocean, and land that no one knew any thing of, not even that there was such a he had no sympathy, but only opposition; that he had no charts, thought of his sublime courage, of his patient faith, was so present presence. The other idea was the wonderful skill displayed in the construction safe home, in which we were moving on this immense and turbid ocean, moved, which, in spite of winds and waves, carried us safely along; of man's contriving to know just in what part of this waste of often thought of them, but was never so impressed with them; it was cannot account, and, had not one of the gentlemen seen it.

 On wordlookup.net  

All is still licensed under the GNU FDL.
It uses material from the wikipedia.



logo

navig stuff

home
archive