Content deleted Content added
EdgeNavidad (talk | contribs) let the readers decide what interests them |
Magioladitis (talk | contribs) m clean up using AWB (9369) |
||
Line 20:
The VMPC one-way function is used in an [[encryption]] algorithm - the VMPC [[stream cipher]]. The algorithm is very efficient in software implementations (encrypt L bytes of plaintext do):
<code>
1. n = 0
2. Repeat steps 3-6 L times:
Line 28 ⟶ 29:
P[s] = Temp
6. n = (n + 1) mod 256
</code>
Where 256-element permutation P and integer value s are obtained from the encryption password using the VMPC-KSA (Key Scheduling Algorithm), which can be found at the VMPC Homepage along with the VMPC-MAC (Message Authentication Code) allowing to authenticate messages encrypted with the VMPC Stream Cipher.
|