Re: XOR and ADD subtil difference ?

From: Douglas A. Gwyn (DAGwyn_at_null.net)
Date: 11/30/04


Date: Tue, 30 Nov 2004 09:58:55 -0500

Arnaud Carré wrote:
> :-) It's just therorical knowledge. I want to know if "modulo add" is as
> safe as XOR .

The "safety" of an encryption algorithm is only
loosely connected to the primitive operations used.
There is one advantage of multidigit (carrying)
addition over unidigit addition (including bit XOR),
namely the carries diffuse a small amount of the
information. It's not a large effect but sometimes
it makes the cryptanalysis harder.



Relevant Pages

  • Re: Book as the key
    ... encryption algorithm or hash first, ... and then using that to XOR with the plaintext? ... file content of the key file. ...
    (sci.crypt)
  • Re: Book as the key
    ... encryption algorithm or hash first, ... and then using that to XOR with the plaintext? ... file content of the key file. ...
    (sci.crypt)
  • Re: Book as the key
    ... > encryption algorithm or hash first, ... and then using that to XOR with the plaintext? ...
    (sci.crypt)
  • Re: Book as the key
    ... > encryption algorithm or hash first, ... and then using that to XOR with the plaintext? ...
    (sci.crypt)
  • Re: XOR and ADD subtil difference ?
    ... > addition over unidigit addition (including bit XOR), ... data as 8bits AES implementation using ADD, maybe that's why XOR is used) ... Maybe unidigit addition is used only because it's independant to internal ... register data size. ...
    (sci.crypt)