> >     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, this is simply not true.

A fundamental theorem of randomness is that random bits XORed onto your
data is random. How do you think a one-time-pad works?

I suggest you read Bruce Schneier's Cryptography book before continuing
this debate.

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

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

Reply via email to