Re: XOR and ADD subtil difference ?

From: Arnaud Carré (arnaud.carreNOSPAM_at_freesurf.fr)
Date: 11/30/04


Date: Tue, 30 Nov 2004 15:49:00 +0100


> > Other: AES uses plenty of XOR like many block cyphers. ( let's say on
> 32bits
> > integer in 32bits implementation). What do you think of the security of
a
> > "modifyed" AES using ADD instead of XOR ??
>
> You mean ADD modulo something? ADD modulo what? ADD modulo 2^32 ?

oh yes sorry I don't specify that. Of course I mean "modulo" add, and modulo
the same size used by any XOR ( with one bit register XOR is equivalent to
ADD).

so in the AES 32bits implementation exemple, of course I speak about
replacing integer 32bits XOR by integer 32bits ADD ( so modulo 2^32 )

And don't be worried, that's not because I don't think XOR is not secure !!
:-) It's just therorical knowledge. I want to know if "modulo add" is as
safe as XOR .

Any idea ?



Relevant Pages

  • Re: why in class Boolean, hashcode() of "true" is 1231 and of "false" is 1237?
    ... It is best to repeat your question in the body. ... Primes scramble nicely when you xor, add or modulo them. ... collapse down onto a small set of values ...
    (comp.lang.java.programmer)
  • Re: MISSING NUMBER
    ... making a loop from 1 to N and xorring the loop counter? ... I was thinking something along the lines of: If N modulo 4 is 1 or 2, ... you know the least-significant bit of the xor will be 1, ... 2^is odd or even. ...
    (comp.programming)
  • Re: MISSING NUMBER
    ... making a loop from 1 to N and xorring the loop counter? ... you know the least-significant bit of the xor will be 1, ... modulo 2^, and we only need to know whether N modulo ... complement of bit 0 of m. ...
    (comp.programming)
  • Re: MISSING NUMBER
    ... making a loop from 1 to N and xorring the loop counter? ... I was thinking something along the lines of: If N modulo 4 is 1 or 2, ... you know the least-significant bit of the xor will be 1, ... 2^is odd or even. ...
    (comp.programming)
  • Re: The Real Ideological Root of Terrorism DARWINISM AND MATERIALISM
    ... >>>Do you mean XOR in computing? ... Boole himself specified that OR was inclusive. ... In formal logic, to express an exclusive OR, you have to specify: ...
    (talk.origins)