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
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==
|