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

  How can we prepare to meet the challenges of that future500

what will the future hold for those in the information technology field?how can we prepare to meet the challenges of

  Define the boolean function that returns one

The tic-tac-toe is a 2 player's game using a 3x3 grid of squares. The players alternate turn. Each player places a mark (one player uses X and the other O) in a square. The first player with three marks in a row, in a column or on a diagonal wins ..

  Developing program for real estate agent in java language

Write down a java program for the real estate agent. The program must carry out the following tasks: Ask the users for average house price for the each of the past 5 years for the single family residence of 1500 square feet.

  Explain the features and characteristics of atm networks

explain the features and characteristics of ATM networks, as well as their benefits and limitations.

  Googlescholar only cloud solutions

Cloud-based computing allows businesses to store and access large amounts of data over the Internet rather than on in-house computer hard drives. There are several cloud-based data solutions currently available in the marketplace.

  How many address lines are needed to access memory

How many address lines are needed to access memory.

  Checksum of tcp and udp

UDP and TCP utilize the 1s complement their checksums. Assume that you have following three 8-bit bytes: 01010011, 01010100, and 01110100.

  Developing the lan for cpa firm

Instructed to develop a LAN for the very successful CPA firm with the five departments within one building and a total of the 560 employees, presently your team can offer.

  Information is data that is framed in a specific context in

information is data that is framed in a specific context. in this sense information is contextual data that has a level

  Take a disk holding files with an average file length

examine a disk holding files with an average file length of 5 KB. Each file is allocated contiguously on adjacent sectors. To better utilize the disk space, it must be periodically compacted, which involves reading each file sequentially and writi..

  Disadvantages of acquiring same hardware for all purchase

What are the advantages and disadvantages of acquiring the same hardware for all purchases versus a mix and match environment.

  Show the parse tree for the expression 110

The second grammar is unambiguous. This means that every expression in the language has exacty on parse tree. Show the parse tree for the expression 110.

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