This page uses content from Wikipedia and is licensed under CC BY-SA.
VMPC (Variably Modified Permutation Composition) is a stream cipher similar to the well known and popular cipher RC4 designed by Ron Rivest. It was designed by Bartosz Zoltak, presented in 2004 at the Fast Software Encryption conference. VMPC is a modification of the RC4 cipher.
The core of the cipher is the VMPC function, a transformation of n-element permutations defined as:
for x from 0 to n-1: g(x) = VMPC(f)(x) = f(f(f(x))+1)
The function was designed such that inverting it, i.e. obtaining f from g, would be a complex problem. According to computer simulations the average number of operations required to recover f from g for a 16-element permutation is about 211, for 64-element permutation - about 253 and for a 256-element permutation - about 2260.
In 2006 at Cambridge University, Kamil Kulesza investigated the problem of inverting VMPC and concluded "results indicate that VMPC is not a good candidate for a cryptographic one-way function".
1 n = 0 2 Repeat steps 3-8 L times: 3 s = P[ (s + P[n]) mod 256 ] 4 Output P[ (P[P[s]]+1) mod 256 ] 5 Temp = P[n] 6 P[n] = P[s] 7 P[s] = Temp #Swap(P[n], P[s]) 8 n = (n + 1) mod 256
Where 256-element permutation P and integer value s are obtained from the encryption password using the VMPC-KSA (Key Scheduling Algorithm).
|This cryptography-related article is a stub. You can help Wikipedia by expanding it.|