January 22, 2002
Practical Aspects of Modern Cryptography
53
A PRNG:  Alleged RC4
nIteration
n i = (i + 1) mod 256
n j = (j + S[i]) mod 256
n swap S[i] and S[j]
n t = (S[i] + S[j]) mod 256
n Output S[t]