From owner-freebsd-current Sat Jun 10 19:52:15 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id 07D2237BE79; Sat, 10 Jun 2000 19:52:14 -0700 (PDT) Date: Sat, 10 Jun 2000 19:52:14 -0700 From: "Andrey A. Chernov" To: Mark Murray Cc: "Jeroen C. van Gelderen" , Kris Kennaway , current@FreeBSD.ORG Subject: Re: mktemp() patch Message-ID: <20000610195213.E99504@freebsd.org> References: <20000609232358.A38967@freebsd.org> <200006100731.JAA04819@grimreaper.grondar.za> <20000610194306.C99504@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000610194306.C99504@freebsd.org>; from ache@freebsd.org on Sat, Jun 10, 2000 at 07:43:06PM -0700 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jun 10, 2000 at 07:43:06PM -0700, Andrey A. Chernov wrote: > On Sat, Jun 10, 2000 at 09:31:49AM +0200, Mark Murray wrote: > > Incorrect. See my other mail; ${RANDOM} xor ${PREDICTABLE} is random. > > Only if predictable have the same bits number as random. If not all bits of > random XOR-ed (i.e. half of random), it becomes weaker. Forget this, I change my mind here. > BTW, if they have the same bits number, > there is no reason to XOR random with predictable, random is not become > more random. But still confirm this. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message