Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How does going global affect companies?

Answered: 1 week ago