Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Confusion and diffusion
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Diffusion=== Diffusion means that if we change a single bit of the plaintext, then about half of the bits in the ciphertext should change, and similarly, if we change one bit of the ciphertext, then about half of the plaintext bits should change.<ref>{{cite book|last1=Stallings|first1=William|title=Cryptography and Network Security|date=2014|publisher=Prentice Hall|location=Upper Saddle River, N.J.|isbn=978-0133354690|pages=67–68|edition=6th}}</ref> This is equivalent to the expectation that encryption schemes exhibit an [[avalanche effect]]. The purpose of diffusion is to hide the statistical relationship between the ciphertext and the plain text. For example, diffusion ensures that any patterns in the plaintext, such as redundant bits, are not apparent in the ciphertext.<ref name=":0"/> Block ciphers achieve this by "diffusing" the information about the plaintext's structure across the rows and columns of the cipher. In substitution–permutation networks, diffusion is provided by [[permutation box]]es (a.k.a. permutation layer{{sfn|Liu|Rijmen|Leander|2018|p=1}}). In the beginning of the 21st century a consensus had appeared where the designers preferred the permutation layer to consist of [[Linearity#Boolean functions|linear Boolean functions]], although nonlinear functions can be used, too.{{sfn|Liu|Rijmen|Leander|2018|p=1}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)