From owner-freebsd-current Sun Feb 2 9:36:56 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48AC937B401; Sun, 2 Feb 2003 09:36:55 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 244CA43F43; Sun, 2 Feb 2003 09:36:54 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.6/8.12.6) with ESMTP id h12HarLf077950; Sun, 2 Feb 2003 17:36:53 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost) by storm.FreeBSD.org.uk (8.12.6/8.12.6/Submit) with UUCP id h12HarBf077949; Sun, 2 Feb 2003 17:36:53 GMT X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.6/8.12.6) with ESMTP id h12HUmaX048964; Sun, 2 Feb 2003 19:30:48 +0200 (SAST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200302021730.h12HUmaX048964@grimreaper.grondar.org> To: "Andrey A. Chernov" Cc: Doug Barton , Kris Kennaway , current@FreeBSD.ORG Subject: Re: rand() is broken In-Reply-To: Your message of "Sun, 02 Feb 2003 15:42:58 +0300." <20030202124258.GA63153@nagual.pp.ru> Date: Sun, 02 Feb 2003 17:30:48 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Andrey A. Chernov" writes: > On Sun, Feb 02, 2003 at 04:38:53 -0800, Doug Barton wrote: > > > > I think it's worthwhile to wait till we get a chance to try arc4random(). > > This is libc's rand/random, it can't be fixed with arc4random() as > designed. Why not? Arc4 is a) deterministic and b) good for all bits. M -- Mark Murray iumop ap!sdn w,I idlaH To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message