Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 15:48:29 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Mark Murray <mark@grondar.org>
Cc:        "Andrey A. Chernov" <ache@nagual.pp.ru>, "Jeroen C. van Gelderen" <jeroen@vangelderen.org>, phk@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: rand() is broken
Message-ID:  <3E3DAE4D.3172D998@mindspring.com>
References:  <200302021734.h12HYJaX049011@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Murray wrote:
> "Andrey A. Chernov" writes:
> > > Objections?
> >
> > We can't, simple because sequence must be repeated for the same seed
> > across the calls.
> 
> RC4 is repeatable.

I tried that, and it didn't repeat the sequence I got when I
previously used "rand()"... 8-) 8-).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E3DAE4D.3172D998>