Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 19:52:14 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Mark Murray <mark@grondar.za>
Cc:        "Jeroen C. van Gelderen" <jeroen@vangelderen.org>, Kris Kennaway <kris@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: mktemp() patch
Message-ID:  <20000610195213.E99504@freebsd.org>
In-Reply-To: <20000610194306.C99504@freebsd.org>; from ache@freebsd.org on Sat, Jun 10, 2000 at 07:43:06PM -0700
References:  <20000609232358.A38967@freebsd.org> <200006100731.JAA04819@grimreaper.grondar.za> <20000610194306.C99504@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<ache@nagual.pp.ru>
http://ache.pp.ru/


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?20000610195213.E99504>