(Non-)Random Sequences from (Non-)Random PermutationsAnalysis of RC4 Stream Cipher
RC4 has been the most popular stream cipher in the history of symmetric key cryptography. Its internal state contains a permutation over all possible bytes from 0 to 255, and it attempts to generate a pseudo-random sequence of bytes (called keystream) by extracting elements of this permutation. Over the last twenty years, numerous cryptanalytic results on RC4 stream cipher have been published, many of which are based on non-random (biased) events involving the secret key, the state variables, and the keystream of the cipher.
rc4 stream ciphers pseudo-random sequences bias distinguisher keylength recovery probability distribution