Question

In: Computer Science

A- Briefly explain what is the purpose of the SW operation in S-DES i.e. How would...

A- Briefly explain what is the purpose of the SW operation in S-DES i.e. How would S-DES be weakened if the SW operation was ommitted.

B- Briefly explain why in DES the key is 56-bits instead of 64-bits?

Solutions

Expert Solution

S-DES
(Simplified - Data Encryption Standard)

It is a block cipher.
It takes plain text as input, encrypts it using a key, and gives the result.

Steps for performing encryption:

STEP 1: Initial Permutation
STEP 2: A function labeled fk
STEP 3: The Switch Function(SW)
STEP 4: A function labeled fk
STEP 5: Initial Permutation Inverse

Part A

Function fk of Step 2 only changes the 4 leftmost bits of the input. Now, in Step 3, switch function (SW) interchanges the left and right 4 bits so that in step 4 function fk operates on a different 4 bits.

If this Step is not performed function fk of Step 4 will be performed again on the same 4 leftmost bits which will certainly weaken the encryption and Encryption will be half done.

Part B

Now, We know that S-DES works on 64-bit input blocks. So the initial key has 64 bits.
But, before actually starting DES, every 8th bit of the original 64 bit key is discarded.


So Discarding Position will be 8, 16, 24, 32, 40, 48, 56 and 64.
Eight of those discarded keys are used only as parity checks.

After Discarding we are left with effective limited 56-bit key, which is then used in encryption.

please comment for any further clarification.


Related Solutions

C++ PROGRAMMING. S-DES: The purpose of this assignment is to implement algorithm for encryption with the...
C++ PROGRAMMING. S-DES: The purpose of this assignment is to implement algorithm for encryption with the simplified DES-type algorithm. · Item #1. Write a C++ program that performs one round of the simplified DES-type algorithm. Test your code with a plaintext = 011100100110 and K = 010011001.
i) Explain in brevity S DES. ii) Discuss how keys are generated in IDEA. iii)  Explain the...
i) Explain in brevity S DES. ii) Discuss how keys are generated in IDEA. iii)  Explain the working of DES.
(d)Consider classification and censorship. What is the purpose of classification of media? Explain briefly how classification...
(d)Consider classification and censorship. What is the purpose of classification of media? Explain briefly how classification systems could be considered censorship.
What would be the sum of all the payments made (i.e., total $s paid over the...
What would be the sum of all the payments made (i.e., total $s paid over the 30 years, ignoring time value) on the following house mortgage? Loan amount is $171,000 with an interest rate of 7.2% per annum, term of 30 years, and monthly payments. (Round to nearest penny and enter, for example, as 123456.78)
What would be the sum of all the payments made (i.e., total $s paid over the...
What would be the sum of all the payments made (i.e., total $s paid over the 30 years, ignoring time value) on the following house mortgage? Loan amount is $171,000 with an interest rate of 7.2% per annum, term of 30 years, and monthly payments. (Round to nearest penny and enter, for example, as 123456.78)
The document should explain i) what the Markowitz model would suggest that investors do (i.e., how...
The document should explain i) what the Markowitz model would suggest that investors do (i.e., how one should invest to achieve a certain investment goal – e.g., 15% expected return – in the 5 country portfolio example, ii) limitations and pitfalls of the Markowitz model, iii) potential mitigations, iv) what the Black-Litterman model does, and v) why it does that. How to explain generally the Markowitz model and Black-Litterman model.
Discuss what proteins would be found in the cSMAC, pSMAC, and dSMAC. Briefly describe the purpose...
Discuss what proteins would be found in the cSMAC, pSMAC, and dSMAC. Briefly describe the purpose of each of these SMAC components. Typed only, thanks
OQ3.13. What is the purpose of a loan amortization schedule? Explain briefly and give examples.
OQ3.13. What is the purpose of a loan amortization schedule? Explain briefly and give examples.
What is the purpose of instrumentation of deep excavation projects? Explain briefly the following instruments and...
What is the purpose of instrumentation of deep excavation projects? Explain briefly the following instruments and state what they measure. a) Inclinometers b)Piezometers c)Extensometers d)Strain gauges
a. Explain the operation of thermodynamic systems i.e. open system and closed system with the aid...
a. Explain the operation of thermodynamic systems i.e. open system and closed system with the aid of diagrams and examples. b. Define the term 'property of a substance' in a thermodynamic system and state the main difference between intensive and extensive properties with examples.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT