Confusion vs Diffusion in cryptography
The the theory of confusion and diffusion was given by Claude Shannon. Confusion and diffusion are both cryptographic techniques that are used to stop the deduction of the secret writing key from the attacker.
The major differences between confusion and diffusion are as follows:
Confusion Diffusion
Confusion uses substitution 1. Diffusion used transposition
Confusion creates faint cipher text 2. Diffusion creates cryptic plaintext
Confusion obsures the relationship 3. Diffusion obscures the relationship
between the key and the ciphertext between the plaintext and the ciphertextConfusion increases vagueness in 4. Diffusion increases redundancy in
resultant resultantBoth stream and block cipher uses 5. Solely block cipher uses diffusion
confusion