Question

In: Computer Science

a) Which parts of DES uses permutation method? b) Which parts of DES uses the substitution...

a) Which parts of DES uses permutation method?

b) Which parts of DES uses the substitution method?

c) Explain why DES can be invertible (verify each round is   easy to inverse).  

d) Does DES require that the function f is invertible? Why?

Solutions

Expert Solution

ANS:-

Data Encryption Standard (DES) is a block cipher algorithm that takes plain text in blocks of 64 bits and converts them to ciphertext using keys of 48 bits. It is a symmetric key algorithm, which means that the same key is used for encrypting and decrypting ​data.

/*i'm attaching the DES diagram for better understanding*/

1) The initial permutation occurs before round 1,it transpose the input block as it moves bit 58 of the plaintext to bit possition1,bit 50 to bit possition 2 ,etc.

The initial permutation and the corresponding final permutation do not affect DES's security.

The key permutation:-

initially, the 64-bits DES key is redused to a 56-bit key by ignoring every eight bit.these bit can use as parity check to ensure tge key is erroe-free.

The Expansion Permutation:-

this operation expands the right half of the data,from 32 bits to 48 bits.

2) The S-Box Substitution:-

After the compressed key is XORed with the expanded block, the 48-bit result Moves to a substitution operation.

3)

The round function of DES is defined as;

For n from 1 to 16

Ln=Rn−1

Rn=Ln−1⊕f(Rn−1,Kn)

so the inverse is;

Rn−1=Ln

and

Ln−1=Rn⊕f(Rn−1,Kn)

No: it is not self inverse in the sense of rd(rd(x))=x; You can see that from the image; or below calculation.

At the end of the first Rd(L0,R0), you will have

L1=R0
R1=L0⊕f(R0,K1)
let see by putting back to rd

Lout=L0⊕f(R0,K1)
Rout=R0⊕f(R0,K1)⊕f(f(R0,K1),K1)
that is definitely different since L0≠Lout

But two rounds are if you reverse the keys.

4) No,it is not invertible. it is possible to find two 32-bits input that, when fed to the DES "mangler" function,both produce the same 32-bit output. this is the one of the feistel structure. the "mangler" function does not need to be invertible, and we still en dup with an invertible block clipher.


Related Solutions

What are semi-weak keys for DES? Assume that the first permutation output of an original key...
What are semi-weak keys for DES? Assume that the first permutation output of an original key to DES is semi-weak. Describe a possible attack against DES encryption? Does this attack significantly reduce the security of DES? Please justify your answer.
DES (a) What does Lucifer have in common with the DES? (b) What are the sizes...
DES (a) What does Lucifer have in common with the DES? (b) What are the sizes of the block and key space of the DES? (c) What does EFF stand for and what does it have to do with the DES? (d) What is DESX? (e) What is the key size of DES? What is the block size of DES? How many rounds are there in DES?
which is based on Feistal design AES or DES?
which is based on Feistal design AES or DES?
describe the substitution method and the elimination method of solving a system of equations. do they...
describe the substitution method and the elimination method of solving a system of equations. do they always give the same answers? what is the difference between the methods?
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 105,000 units made up of the following: Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 140,700 100 % Costs added by...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 109,000 units made up of the following. Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 150,420 100 % Costs added by...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 110,000 units made up of the following. Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 152,900 100 % Costs added by...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 75,000 units made up of the following: Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 192,000 100 % Costs added by...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 103,000 units made up of the following. Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 135,960 100 % Costs added by...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to...
Kansas Supplies is a manufacturer of plastic parts that uses the weighted-average process costing method to account for costs of production. It produces parts in three separate departments: Molding, Assembling, and Packaging. The following information was obtained for the Assembling Department for the month of April. Work in process on April 1 had 120,000 units made up of the following. Amount Degree of Completion Prior department costs transferred in from the Molding Department $ 178,800 100 % Costs added by...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT