From owner-cvs-games Tue Sep 23 23:11:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04813 for cvs-games-outgoing; Tue, 23 Sep 1997 23:11:36 -0700 (PDT) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04762; Tue, 23 Sep 1997 23:10:57 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id KAA13358; Wed, 24 Sep 1997 10:10:34 +0400 (MSD) Date: Wed, 24 Sep 1997 10:10:34 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Mark Murray cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-games@FreeBSD.ORG Subject: Re: cvs commit: src/games/arithmetic arithmetic.c In-Reply-To: <199709240552.HAA00830@greenpeace.grondar.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-games@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 http://www.nagual.pp.ru/~ache/