Derive 32-bit output for the 48-bit input using the s-box

Assignment Help Computer Engineering
Reference no: EM13852182

1) Determine the expanded key length (in terms of the number of words) for AES when we use key of length 256 bits. Also, draw the overall structure of AES for a 256-bit key. Show all the inputs and outputs (similar to the overall structure shown for AES with a 128-bit key).
2) Derive the 32-bit output for the 48-bit input using the S-Box table given for DES

48-bit input


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

0

0

1

1

1

0

1

1

0

1

0

0

1

1

1

0

0

1

0

0

0

1

1

1

 

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

1

1

0

0

0

1

0

0

1

0

1

1

0

0

0

1

1

0

1

1

1

0

0

0

 

6-bit input

Row value

Column value

S-box result

4-bit output

S-Box S1

 

 

 

 

 

S-Box S2

 

 

 

 

 

S-Box S3

 

 

 

 

 

S-Box S4

 

 

 

 

 

S-Box S5

 

 

 

 

 

S-Box S6

 

 

 

 

 

S-Box S7

 

 

 

 

 

S-Box S8

 

 

 

 

 

 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3) Would it be possible to reduce the key search space for 56-bit key-based DES from O(256) to O(255) using a "known plaintext attack" and the bit-wise complement property of DES? Why or why not? Justify your answer.

4 Suppose the DES f function (Feistel function) maps every 32-bit input R (regardless of the value of the input K) to 32-bit string of 1s. Given that the input to a round j is Lj-1 and Rj-1, determine what would DES compute after every two rounds and after every four rounds? [Hint: Use the XOR properties - A A = 0; A 1 = A′; A 0 = A]

5)Given the following state array (in hex.) for an AES encryption round:

52        6b        7c        8d

74        99        14        2a

fb         a2        b3        c2

54        8d        1c        93

(a) Perform the Sub Bytes step followed by the Shift Rows step and write the output array (in hex.)

(b) When the output array of (a) is subjected to the AES Mix Columns step, write the output value of the byte in the third row and second column of the product array. Show all the steps.

 

 

 

 

 

 

 

 

 

 

 

 


6) (25 pts) RSA Algorithm: Let p = 7 and q = 11.
a) Determine the encryption and decryption keys. Your encryption key of choice (e) should be above 6.
b) Show the decryption for a ciphertext 9. You should use the decryption key found using the Extended Euclid's algorithm in step (a).

 

 

 

 

 

 

 

 

 

Reference no: EM13852182

Questions Cloud

Explain dns and why it is necessary for today networks : Explain DNS and why it is necessary for today networks. Using your local DNS server, try to resolve "www.google.com.au" and report the resolved address(es).
Many times we have heard individuals or groups pitch : Many times we have heard individuals or groups pitch the idea of a supply chain that might be new to the organization as a startup or as part of an existing entity.  Just as a bicycle chain needs a functional chain in order to revolve, all companies ..
Evaluate the strengths and limitations of the technology : Evaluate the strengths and limitations of the technology that supports the delivery of health care services.  Analyze current and future applications of technology for your topic
Magnitude of the acceleration of blocks : A mass m1=4.10kg block on a smooth tabletop is attached by a string to a hanging block of mass m2=2.60kg, as shown in the figure. The blocks are released from rest and allowed to move freely. Find the magnitude of the acceleration of the blocks.
Derive 32-bit output for the 48-bit input using the s-box : Derive the 32-bit output for the 48-bit input using the S-Box table given for DES
Coefficient of static friction between mass : The system shown in the following figure is in static equilibrium and the angle= 29 degrees. Given that the mass m1 is 8.10 kg and the coefficient of static friction between mass m1 and the surface on which it rests is .32, what is the maximum mas..
What evidence would you use to support your argument : Is the writer right in what he says? What points can you agree with? What points would you take issue with? How would you do that? What evidence would you use to support your argument?
Design a total rewards program : In this assignment, you will design a total rewards program based on an existing organization that you have studied earlier in the course or, with the instructor's permission, a different organization
Develop policy to address the issues raised in scenario : Identify appropriate legislation for the particular scenario that you are reviewing and identify risk management strategies that can be implemented in order to avoid breaches of confidentiality.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Why is the object-oriented database model

Why is the object-oriented database model gaining acceptance for developing applications and managing  hypermedia databases at business websites.

  Code to declare the four pointer variables

In C++: A pointer variable may consist of a pointer to a valid object, a pointer to a deleted object, NULL, or the random value. Write down the code which generates and sets four pointer variables a, b, c, and d to display each of these possibilit..

  Does the site follow an opt-in or opt-out policy or is the

use your favorite web search engine to obtain a list of web pages that include the words privacy statement. visit the

  Create a program that uses the division method of hashing

Create a data set with 100 integer values. Create a program that uses the division method of hashing to store the data values into hash tables with table sizes of 7,,51 and 151.

  What is the throughput

Measurements of the slotted ALOHA channel with an infinite number of users show that 10 percent of the slots are idle.

  Computer rendering of stochastic models

Prepare a slideshow on Computer rendering of stochastic models

  Write java syntax that declares a 1d integer array

Write Java syntax that declares a 1D integer array. Instantiate and initialize the array from Q#1 with values: 5, 3, 5, 7,

  What required to happen in order for the database

If the computers of organization are to old, the database management system might not be installed in the organization and will not run properly or sometimes not at all. This information is good to remember as planning a particular database implem..

  Explain interval and arithmetic coding

Evaluate the cumulative distribution function and the binary intervals

  Which is more important, content or presentation

There has been a discussion for years on which is more important, content or presentation. This is very important when thinking about creating a PowerPoint slideshow. In your opinion, which is more and important and why.

  Which method allow channel to synchronization sequence

Which method allow channel to synchronization sequence? Discuss the trade-offs between fibre optic and satellite communication in terms of costs, signal capacity, signalling method, interference, likelihood of failure and repair issues, multipoin..

  Explain the steps of the user-centric design process

Compare the various types of human memory and their impact on the human-computer interface. Describe the potential outcomes of not using consistency in the human-computer interface. Summarize and explain the steps of the user-centric design process

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd