On Fri, Jun 09, 2000 at 11:53:34PM -0700, Matthew Dillon wrote:
> :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.
> :
> :-- 
> :Andrey A. Chernov
>     Think about it.  If you mix a random number with a non-random number,
>     using xor, what you get is.... a random number.  It's neither stronger
>     nor weaker.

No, you'll get weaker random number, it badly affects random distribution. 
OR or AND will affect more. What you say is true only if second XOR part is 
0 or -1 or changed between them or simple constant. I.e. if not _all_ bits XORed 
in the same way, it affects.

Andrey A. Chernov

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to