# Cryptography/Basic Design Principles

Good ciphers often attempt to have the following traits.

## Kerckhoffs's principleEdit

A cryptosystem should be secure even if everything about the system, except the key, is public knowledge.

In the words of Claude Shannon, "The enemy knows the system." (Shannon's maxim).

 To do: Say something about "security through obscurity" here. Perhaps also something about Kerckhoff's other 5 principles.

## DiffusionEdit

Having good diffusion means that making a small change in the plain text should ideally cause as much as possible of cipher text to have a fifty percent possibility of change.

For example a Caesar cipher has almost no diffusion while a block cypher may contain lots of it.

## ConfusionEdit

For good confusion the relationship between the cypher text and the plain text should be as complex as possible.

--182.59.160.84 (discuss) 01:44, 29 January 2014 (UTC)--182.59.160.84 (discuss) 01:44, 29 January 2014 (UTC)--182.59.160.84 (discuss) 01:44, 29 January 2014 (UTC)--182.59.160.84 (discuss) 01:44, 29 January 2014 (UTC)←→↑CryptographyCryptography/Basic Design Principles≤≥[[Category:{{${{FULLPAGENAME}}$}}]]== Further reading ==