Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 09:22:36 +0200
From:      Mark Murray <mark@grondar.za>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: mktemp() patch 
Message-ID:  <200006110722.JAA70906@grimreaper.grondar.za>
In-Reply-To: <20000610194306.C99504@freebsd.org> ; from "Andrey A. Chernov" <ache@FreeBSD.ORG>  "Sat, 10 Jun 2000 19:43:06 MST."
References:  <20000610194306.C99504@freebsd.org> 

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

Sigh. Exactly. The other half is _not_random_; I am not talking about it.

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

If you doubt your randomness, XORing two quantities can improve it, if
there is coincidence of random/non-random bits.

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org


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?200006110722.JAA70906>