Key clustering
Appearance
You must add a |reason=
parameter to this Cleanup template – replace it with {{Cleanup|April 2006|reason=<Fill reason here>}}
, or remove the Cleanup template.
Key clustering is when two different keys generate the same ciphertext from the same plaintext, using same or different algorithm.
Ciphers (or algorithms) are used to encrypt the plaintext using keys. A good algorithm, using different keys on the same plaintext generates a different ciphertext, irrespective of the key length.
Assume that there is a plaintext P, two keys (of same length, assumed for simplicity) K1 and K2, and an algorithm A. Ciphertexts C1 and C2 with the two keys are generated as follows:
P -----A(K1)------> C1
P -----A(K2)------> C2