Variably Modified Permutation Composition: Difference between revisions

Content deleted Content added
No edit summary
swap commented out
Line 19:
s = P[ (s + P[n]) mod 256 ]
Output P[ (P[P[s]]+1) mod 256 ]
#Swap(P[n], P[s]) #
Temp = P[n];
P[n] = P[s];
P[s] = Temp
n = (n + 1) mod 256
</source>