The plaintext and the key often have a very similar role in producing the output hence the same mechanism ensures both diffusion and confusion