Find the shortest way to write CipherSaber. There are several parts to this puzzle:
Arcfour is fully specified elsewhere, but for completeness, I'll describe it here.
Set up two arrays, S
and S2
, both of length 256, where k_1
is the first byte of the key, and k_n
is the last.