Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 19:43:06 -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:  <20000610194306.C99504@freebsd.org>
In-Reply-To: <200006100731.JAA04819@grimreaper.grondar.za>; from mark@grondar.za on Sat, Jun 10, 2000 at 09:31:49AM %2B0200
References:  <20000609232358.A38967@freebsd.org> <200006100731.JAA04819@grimreaper.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


BTW, if they have the same bits number,
there is no reason to XOR random with predictable, random is not become 
more random.

-- 
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?20000610194306.C99504>