Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 09:31:49 +0200
From:      Mark Murray <mark@grondar.za>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        "Jeroen C. van Gelderen" <jeroen@vangelderen.org>, Mark Murray <mark@grondar.za>, Kris Kennaway <kris@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: mktemp() patch 
Message-ID:  <200006100731.JAA04819@grimreaper.grondar.za>
In-Reply-To: <20000609232358.A38967@freebsd.org> ; from "Andrey A. Chernov" <ache@FreeBSD.ORG>  "Fri, 09 Jun 2000 23:23:58 MST."
References:  <20000609232358.A38967@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Then you will get collisions which you will have to deal with. I am not
> > familiar with the code but if we can handle collisions nicely then that 
> > would be the way to go: 64^6 = 2^36 possibilities which is nice...
> 
> 1) Just totally opposite: mixing random with non-random sources you'll get 
> into collision much faster then with random source only.  2) Yet, of course, 
> the code handles collisions.

Incorrect. See my other mail; ${RANDOM} xor ${PREDICTABLE} is random.

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?200006100731.JAA04819>