[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DES Question



>Second question: The DES code that I have (not written by me) has a
>comment section which describes filling all 16 subkeys seperately,
>thereby allowing a 128 byte key.  Is there any significant advantage to
>doing this?  Is there any reason that I should not do it?

That sounds like my code. That feature seemed like a good thing to do
at the time. Then I learned about differential cryptanalysis. No, you
cannot strengthen DES in this way, and in fact you could actually
weaken it unless you are sure to use 128 completely random bytes for
your key.

>What is the purpose of the initial and final permutations?

Mainly to sabotage the performance of DES software implementations.
Even back then the government knew it was much easier to control
the dissemination of hardware than software.

Phil