Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose the DES F function mapped every 32-bit input R, regardless of the value of the input K, to a) 32-bit string of ones, b)
Suppose the DES F function mapped every 32-bit input R, regardless of the value of the input K, to a) 32-bit string of ones, b) bitwise complement of R. 1. What function would DES then compute? 2. How would the decryption look like?
3. Show that DES decryption is, in fact, the inverse of DES encryption.
Hint:
Use the following properties of the XOR operation:
(A XOR B) XOR C = A XOR (B XOR C)
A XOR A = 0
A XOR 0 = A
A XOR 1 = bitwise complement of A
where
A, B, C are n-bit strings of bits 0 is an n-bit string of zeros 1 is an n-bit string of ones
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started