Question: Cryptography Do not use #include Will like immediately if code works correctly. Q4 (20 pts). Write a C++ function named inverseShiftRows that accepts four unsigned
Cryptography
Do not use #include
Will like immediately if code works correctly.

Q4 (20 pts). Write a C++ function named inverseShiftRows that accepts four unsigned integer x0,x1,x2, and x3 and shift rows (bytes) of those four numbers using the inverse ShiftRows Sublayer of AES. Your function should return nothing. The function should change the values of the arguments. Therefore, arguments should be passed by reference. Note that, the first byte (most significant 8 bits) of x0 becomes B0 in the following figures. For instance, at the end of the function, new value of x0 should be B0B13B10B7, new value of x1 should be B4B1B14B11, etc. Let x0=2,x1=2,000,x2=2,000,000, and x3=2,000,000,000. After calling the function (inverseShiftRows (x,x1,x2,x3); ), the new values of the variables will be x0=3,507,408,x1 =38,016,x2=0, and x3=1,998,456,578. Input matrix Output matrix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
