Reference no: EM13982098
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.
Describe what will happen to supply or demand for the dollar
: Describe what will happen to supply or demand for the dollar and for the euro if more European tourists come to the US for vacations. Be sure to include whether each currency rises or falls in value.
|
Declare a pointer vptr that points to an object
: Declare a pointer vPtr that points to an object of type unsigned int
|
Identify three questions you will have for zachary team
: Based on this list of characteristics, identify three questions you will have for Zachary's team. These questions should help you gather information about how to better understand how Zachary's behavior, as well as strategies the team has found su..
|
Exchange rate between the dollar and the euro is one dollar
: The exchange rate between the dollar and the euro is one dollar to .8 euro (€). The price of a Mercedes is € 45,000; the price of a similar size Cadillac is $38,000. What is the euro price of the Caddy? What is the dollar price of the Mercedes?
|
Implement encryption and decryption with modied simplied des
: 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.
|
Describe and analyze the experience in terms of drawing
: For this assignment you will apply course concepts or theories to a current or previous experience, in a way that explicitly illustrates the formula. In other words, select a life experience that you feel illustrates the formula.
|
Unified banking system
: Keeping your money in a bank seems like a good idea. However, from time to time, depositors lose confidence in banks (this happened in summer of 2012 in Greece). If your bank was experiencing a run, would you join in, or would you be confident that t..
|
How much torque was applied by brakes to any one of wheels
: You hit the brakes and stop after 30 seconds. How much torque was applied by the brakes to any one of the wheels? angular velocity is 117.31 rad/s.
|
Determine the tension developed in the cable
: If the motor draws in the cable at a rate of v = (0.05s3 >2 ) m>s, where sis in meters, determine the tension developed in the cable when s= 10 m. The crate has a mass of 20 kg, and the coefficient of kinetic friction between the crate and the gr..
|