Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 1997 10:10:34 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Mark Murray <mark@grondar.za>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-games@FreeBSD.ORG
Subject:   Re: cvs commit: src/games/arithmetic arithmetic.c 
Message-ID:  <Pine.BSF.3.96.970924100635.13316A-100000@lsd.relcom.eu.net>
In-Reply-To: <199709240552.HAA00830@greenpeace.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Sep 1997, Mark Murray wrote:

> Why are we using our cryptgraphic randomness source for games? :-)
> This randomness is (or can be) a precious resource. This strikes me
> as a waste.

1) srandomdev() is designed to replace all srandom(time()) or
similar occurances.

2) cryptographics generator will be only better (less predictable) if
rolled more

3) There is no resource waste here since /dev/urandom readed only
once per program.

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970924100635.13316A-100000>