The value of the input k to a 32 bit string of ones b

This preview shows page 33 - 36 out of 46 pages.

the value of the input K, to a. 32-bit string of ones b. bitwise complement of R Use the following properties of the XOR operation: (A* B)*C = A*(B*C) A*A = 0 A*0 = A A* 1 = bit wise complement of A Where * is XOR operation, A, B and C are n-bit string of bits 0 is an n-bit string of 0 bits 1 is an n-bit string of 1 bits Identify the function in the DES encryption and also perform decryption. Modules: Module 1: Defining & Initialization of all required functions required for DES Task 1: Defining Initial Permutation and Inverse IP functions
Image of page 33

Subscribe to view the full document.

Task 2: Defining Expansion & Permutation function Task 3: Defining S-Box Function Task 4: Defining PC-1 and PC-2 Task 5: Defining Shift Key function Task 6: Defining Initial Key & Plain text input of 64- bits Task 7: Defining the other constant functions require for DES implementation Module 2: Key Generation Phase Task 1: Generate an input sequence 64-bit input number for key generation Task 2: Implementing Permuted Choice – 1 function on 64-bit number Task 3: Implementing Shift operation on the output from PC-1 function Task 4: Implementing Permuted Choice – 2 function Task 5: Generate the keys require for encryption function Task 6: Generate the keys require for decryption function Module 3: Encryption Phase (implement the proposed algorithm using same steps) Task 1: Generate an input sequence 64-bit input number for encryption Task 2: Implementing Initial Permutation function on 64-bit number Task 3: Implementing Expansion function on 32 bit number to get 48-bit number Task 4: Implementing XOR on 48 bit with Round 1 key Task 5: Implementing S- Box function on 48 bit number to get 32 – bit number Task 6: Implementing Permutation function on 32- bit Task 7: Generate the output from encryption phase Module 4: Decryption Phase (implement the proposed algorithm using same steps) Task 1: Generate an input sequence 64-bit input number for decryption Task 2: Implementing IP -1 Inverse Initial Permutation function on 64-bit number Task 3: Implementing Expansion function on 32 bit number to get 48-bit number Task 4: Implementing XOR on 48 bit with Round 1 key Task 5: Implementing S- Box function on 48 bit number to get 32 – bit number Task 6: Implementing Permutation function on 32- bit Task 7: Generate the output from Decryption phase 12 . Design and implement Modified DES cipher as mentioned below and observe the Avalanche effect. The number of rounds allowed from one to five only. Observe the Avalanche effect by c hanging the bits of the plain text. That is Once the first round is completed, change 1 bit of the plain text and observe the change in cipher text bits. Continue the analysis by changing half of the bits in the plain text.
Image of page 34
Modules: Module 1: Defining & Initialization of all required functions required for DES Task 1: Defining Initial Permutation and Inverse IP functions Task 2: Defining Expansion & Permutation function Task 3: Defining S-Box Function Task 4: Defining PC-1 and PC-2 Task 5: Defining Shift Key function Task 6: Defining Initial Key & Plain text input of 64- bits Task 7: Defining the other constant functions require for DES implementation
Image of page 35

Subscribe to view the full document.

Image of page 36

{[ snackBarMessage ]}

Get FREE access by uploading your study materials

Upload your study materials now and get free access to over 25 million documents.

Upload now for FREE access Or pay now for instant access
Christopher Reinemann
"Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

Ask a question for free

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern