Question: Implement the RC4 algorithm using the C programming language (submit your code along with your answers). Suppose the key consists of the following seven bytes:
Implement the RC4 algorithm using the C programming language (submit your code along with your answers). Suppose the key consists of the following seven bytes: (0x1A, 0x2B, 0x3C, 0x4D, 0x5E, 0x6F, 0x77). For each of the following, give S in the form of a 16x16 array where each entry is in hex.
a. List (in Hex) the permutation S and indices i and j after the initialization phase has completed
b. List (in Hex) the permutation S and indices i and j after the first 100 bytes of keystream have been generated
c. List (in Hex) the permutation S and indices i and j after the first 1000 bytes of keystream have been generated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
