This problem deals with the A cipher. Justify your answers.
a On average, how often does the X register step?
b On average, how often does the Y register step?
c On average, how often does the Z register step?
d On average, how often do all three registers step?
e On average, how often do exactly two registers step?
f On average, how often does exactly one register step?
g On average, how often does no register step?
Implement the RC algorithm. Suppose the key consists of the following seven bytes: xAxBxCxDxExFx For each of the following, give S in the form of a times array where each entry is in hex.
a List the permutation S and indices i and j after the initialization phase has completed.
b List the permutation S and indices i and j after the first bytes of keystream have been generated.
c List the permutation S and indices i and j after the first bytes of keystream that is additional keystream bytes after your solution to part b have been generated.