Re: The Blum-Blum-Shub generator and a guessable seed
- From: Steven Jones <sjones@xxxxxxxxxx>
- Date: Thu, 06 Apr 2006 22:26:27 GMT
On Thu, 06 Apr 2006 17:58:43 +0000, Unruh wrote:
Steven Jones <sjones@xxxxxxxxxx> writes:
On Mon, 03 Apr 2006 13:16:21 +0200, Kristian Gjøsteen wrote:
Thomas B. <thetom@xxxxxxxxxxxxxxxxxxxxx> wrote:
The initial seed x_0 is derived from the system time in milliseconds.
Now my question: When an attacker can guess (brute force) x_0, is s/he
able to generate the same (pseudo-)random number output as the original
BBS PRNG?
Yes. BBS output is a deterministic function of the input. If you know
the input, you know the output. The input is the seed.
The system time is an awful seed. It contains next to no entropy from
the point of view of an attacker.
I think that this has to be qualified. First, the entropy does not come
from the system time itself, but from the unpredictability associated
with the instant at which it is read. Second, the bits of entropy that
can be extracted at a single read operation will depend on how fast the
system clock is updated. On a system running at 1 GHz, the tick counter
gets updated so quickly that a single read can extract 16 bits or more
worth of entropy.
"The initial seed x_0 is derived from the system time in milliseconds."
This has nothing to do with the system clock. Also the system time is
updated usually far less often than once per millisec, or your computer
would be spending all its time updating the time.
My response was, like I said, a qualification. When I talked about a
system clock, or system time, I just meant any source available to the
system that is increased in a monotonically predictable way - hence my
reference to tick counters. My apologies for having been sloppy in this
respect.
.
- References:
- The Blum-Blum-Shub generator and a guessable seed
- From: Thomas B.
- Re: The Blum-Blum-Shub generator and a guessable seed
- From: Kristian Gjøsteen
- Re: The Blum-Blum-Shub generator and a guessable seed
- From: Steven Jones
- Re: The Blum-Blum-Shub generator and a guessable seed
- From: Unruh
- The Blum-Blum-Shub generator and a guessable seed
- Prev by Date: Re: The Blum-Blum-Shub generator and a guessable seed
- Next by Date: Re: The Blum-Blum-Shub generator and a guessable seed
- Previous by thread: Re: The Blum-Blum-Shub generator and a guessable seed
- Next by thread: Re: The Blum-Blum-Shub generator and a guessable seed
- Index(es):
Relevant Pages
|