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