Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

You have to implement encryption and decryption with Modied Simplied DES, as discussed in the class and the
textbook. The permutations IP, P10, P8, and SW, and the functions fk; F, and the S-box S1 are all as described in
the textbook, and can be hardwired into your program. For parts (a) and (b), you use the original S0 box as described
in Stallings 3rd edition. However, for part (c), you have to use a modied S-box S0'. In the modied S0',
the rows 0 and 2 are the same as described for the original S0, but the rows 1 and 3 have been switched. So row 1 is
3; 1; 3; 2, and row 3 is 3; 2; 1; 0. Your program should:
take as input a 8-bit block of plaintext and a 10-bit key.

Show the following output (please only print what is being asked for, and nothing else):

(a) the intermediate result after the SW operation while encypting.

(b) the ciphertext.

(c) the intermediate result after the SW operation while decrypting.

(d) the result of the decryption process.

You have to run your programs on the following inputs:

(a) with the original S0: the example from the textbook i.e. the plaintext is 10111101 and the key is 1010000010.

In this case we know the ciphertext should come out to be 01110101, so this is a good way to check that your
program is performing correctly on this input.

(b) with the original S0: the plaintext is 11001110 and the key is 1001100101.

(c) with the modied S0': the plaintext is 00100101 and the key is 1001011001.

Please note that you do not have to actually implement these operations as bit operations. For example, you can store the plaintext as an array of integers.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91675863

Have any Question?


Related Questions in Computer Engineering

According to the alzheimers association alzheimers disease

According to the Alzheimer's Association, Alzheimer's disease affects 1 in 10 people over the age of 65. What would be the shape, mean, and standard error of the sampling distribution of the proportion who suffer from Al ...

What are the best practices to follow for microsoft windows

What are the best practices to follow for Microsoft Windows network security. Which two would you start with and why?

Every day your friend commutes to school on the subway at 9

Every day your friend commutes to school on the subway at 9 AM. If the subway is on time, she will stop for a $3 coffee on the way to class. If the subway is delayed she skips the coffee and goes straight to class. The p ...

Mary kate is a project manager in the it department for a

Mary Kate is a project manager in the IT department for a university. She has been asked to manage a project to create faculty intranet. The university has multiple campuses in various locations, and professors and other ...

Solve the problem by implementing the whole class with main

Solve the problem by implementing the whole class with main() function and demonstrate that your Java code can pass several appropriate test cases successfully in your main() function? Write a short recursive Java method ...

System analysis project 4 can you answer the 4 questions at

System Analysis project 4: can you answer the 4 questions at the task section, thank you. Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company ...

Systems analysis chapter 6 please answer the four questions

Systems analysis chapter 6: Please answer the four questions at the tasks section Campus Bikes is a popular bicycle shop located near a major university. The business has grown and the owner, Mark Turner, wants to instal ...

Where do cfos get their money newswhere do cfos get their

Where do CFOs get their money news? Where do CFOs get their money news? According to Robert Half International, 47% get their money news from newspapers, 15% get it from communication/colleagues, 12% get it from televisi ...

Analytic reportpurpose the purpose of this task is to

Analytic Report: Purpose: The purpose of this task is to provide students with practical experience in working in teams to write a Data Analytical report to provide useful insights, pattern and trends in the chosen/given ...

Stepscreate a java project in eclipse called lab 2 next

Steps: Create a Java project in Eclipse, called Lab 2. Next create a java class called Dashboard. It should extend javafx.application.Application. This will be the main GUI for your lab, and it should use a VBox as the r ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As