Variably Modified Permutation Composition: Difference between revisions

Content deleted Content added
m {{mono}}, indent
m {{mono}}
Line 17:
Repeat steps 3-6 L times:
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>
Where 256-element permutation {{mono|P}} and integer value {{mono|s}} are obtained from the encryption password using the VMPC-KSA (Key Scheduling Algorithm).
 
==References==