×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

LOG IN TO YOUR ACCOUNT

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR PASSWORD?

AAH, WAIT, I REMEMBER NOW!

CREATE AN ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • INFO

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

What should a block cipher include according to Shannon?

by Theresa Sittel / Monday, 26 May 2025 / Published in Cybersecurity, EITC/IS/CCF Classical Cryptography Fundamentals, Applications of block ciphers, Modes of operation for block ciphers

Claude Shannon, often regarded as the father of modern cryptography and information theory, provided foundational principles that have deeply influenced the design of secure cryptographic systems. His seminal 1949 paper, "Communication Theory of Secrecy Systems," introduced several theoretical concepts that continue to guide cryptographers, particularly regarding the structure and requirements of block ciphers. When considering what a block cipher should include according to Shannon, it is necessary to discuss not only the mathematical and structural criteria but also the concepts of confusion and diffusion, their practical application, and their implications for the design and operation of block ciphers in modern systems.

Shannon’s Principles: Confusion and Diffusion

Shannon identified two main properties that a robust cipher system should possess: confusion and diffusion.

1. Confusion:
The property of confusion aims to obscure the relationship between the ciphertext and the key. In simpler terms, it should be difficult for an adversary to deduce the key, even if they have access to the ciphertext and, in some cases, the corresponding plaintext. Confusion is typically achieved by using complex, nonlinear transformations within the cipher’s structure, such as substitution boxes (S-boxes). The effect is that changing a single bit of the key leads to unpredictable and widely varying changes in the ciphertext, thwarting statistical and algebraic attacks.

*Example:* In the Advanced Encryption Standard (AES), confusion is provided by the use of S-boxes in the SubBytes step, which replaces each byte of the block with another according to a fixed, nonlinear transformation.

2. Diffusion:
Diffusion is the property that ensures the influence of one plaintext symbol spreads over many ciphertext symbols. The purpose is to dissipate the statistical structure of the plaintext over the bulk of the ciphertext, so that any statistical relationship between the plaintext and ciphertext is minimized. This is often achieved by permutation operations, such as bit or byte shuffling within the block. The avalanche effect is a direct result of proper diffusion: a small change in the plaintext or key leads to a significant and unpredictable change in the ciphertext.

*Example:* In the Data Encryption Standard (DES), diffusion is provided by the permutation operations and mixing of bits in each round, so that after several rounds, changing one bit of the plaintext affects many bits of the ciphertext.

Product Ciphers: Combining Confusion and Diffusion

Shannon's analysis showed that a single application of confusion or diffusion is insufficient for strong encryption. Instead, he recommended constructing "product ciphers," which consist of multiple rounds or layers, each combining confusion and diffusion. This approach exponentially increases the security of the cipher by compounding the effects of each property.

*Example:* Both DES and AES use multiple rounds (16 for DES, 10–14 for AES, depending on key size), each incorporating both substitution (confusion) and permutation/mixing (diffusion) steps.

Structural Requirements of a Block Cipher According to Shannon

Based on Shannon’s principles, a block cipher should include:

– Nonlinear Substitution Operations (for Confusion):
These operations replace input values with output values based on a nonlinear transformation, making the relationship between plaintext, ciphertext, and key complex and resistant to linear and differential cryptanalysis.

– Permutation/Transposition Operations (for Diffusion):
These operations rearrange the bits or bytes of the block, ensuring that the statistical structure of the plaintext is dispersed throughout the ciphertext.

– Multiple Rounds of Processing (Product Structure):
The combination of substitution and permutation is applied iteratively over several rounds, compounding the effects of confusion and diffusion.

– Key Mixing:
The cipher design should incorporate the key into the transformation process at multiple stages, usually at each round, to prevent attacks that exploit fixed or predictable key usage.

– Resistance to Known Cryptanalytic Attacks:
Although not explicitly stated by Shannon, modern interpretation of his principles requires that the design be robust against statistical, brute-force, and advanced cryptanalytic attacks (such as linear and differential cryptanalysis), which exploit weaknesses in confusion or diffusion.

Application to Modern Block Cipher Design

Modern block ciphers such as DES, AES, and others are direct implementations of Shannon's product cipher concept. Each round typically includes:

– Key addition: Mixing the round key with the current block (usually via XOR).
– Substitution layer: Applying a nonlinear S-box to each byte or group of bits.
– Permutation or diffusion layer: Shuffling or mixing the bits so that output bits depend on multiple input bits.

AES, for example, uses the following steps in each round (after the initial key addition):

1. *SubBytes:* Nonlinear substitution of each byte (confusion).
2. *ShiftRows:* Cyclically shifting the bytes in each row (partial diffusion).
3. *MixColumns:* Mixing each column of the state (full diffusion).
4. *AddRoundKey:* XORing with a round-specific key derived from the main key.

DES, though now considered insecure due to its small key size, also follows Shannon’s framework:

1. *Initial Permutation:* Rearrangement of input bits.
2. *Sixteen Rounds:* Each involving expansion, substitution (via S-boxes), permutation, and key mixing.
3. *Final Permutation:* Another rearrangement of bits.

Modes of Operation and Their Relationship to Shannon's Principles

Block ciphers are designed to encrypt fixed-size blocks of data (e.g., 128 bits for AES). However, practical messages are often much larger or smaller. Modes of operation, such as ECB, CBC, CFB, OFB, and CTR, define how block ciphers are applied to data streams of arbitrary length. While modes of operation manage how blocks are chained and how errors propagate, the underlying security of the block cipher in any mode depends on the proper implementation of confusion and diffusion as specified by Shannon.

For example:

– ECB (Electronic Codebook Mode):
Each plaintext block is encrypted independently. This mode does not provide additional diffusion across blocks and thus leaks patterns if the same plaintext block is repeated within a message.

– CBC (Cipher Block Chaining):
Each plaintext block is XORed with the previous ciphertext block before encryption, increasing inter-block diffusion and making patterns less visible.

– CTR (Counter Mode):
Applies the block cipher to a counter value and XORs the result with the plaintext, turning the block cipher into a stream cipher. While the core block cipher must still provide confusion and diffusion, the mode ensures that identical plaintext blocks encrypt to different ciphertext blocks due to the changing counter.

Examples Illustrating Shannon’s Criteria

Consider a hypothetical block cipher with poor confusion: suppose the substitution step is a simple, linear mapping (e.g., increment each byte by 1). An attacker could easily deduce the transformation and reverse it, revealing the key or plaintext. Similarly, if the diffusion step is inadequate—such as only swapping adjacent bytes—then localized changes in the plaintext affect only small parts of the ciphertext, making the cipher susceptible to analysis.

On the other hand, with strong confusion and diffusion, as in AES, changing a single bit of the plaintext or key will, after several rounds, affect all bits of the ciphertext in an unpredictable manner. This is the avalanche effect, a direct manifestation of Shannon’s principles.

Theoretical Justification and Practical Implications

Shannon introduced the notion of the "unicity distance," the minimum amount of ciphertext needed to uniquely determine the key for a given cipher. The unicity distance depends on the keyspace size, the redundancy of the plaintext language, and the cipher's ability to destroy statistical structures (diffusion). A cipher with high confusion and diffusion increases the unicity distance, making it infeasible for an attacker to recover the key, even with substantial ciphertext.

Moreover, Shannon’s principles are not only relevant for the design of ciphers but also for their evaluation. When assessing the security of a block cipher, cryptographers analyze the degree of confusion and diffusion in each round and the overall structure, ensuring there are no shortcuts for attacks that exploit statistical relationships or structural weaknesses.

Summary Paragraph

Shannon’s criteria for a secure block cipher are both theoretical and practical. At the core, a block cipher should incorporate strong confusion and diffusion, achieved through nonlinear substitutions, permutations, and repeated rounds of processing. The combination of these elements disrupts statistical patterns, obfuscates the key, and ensures that even small changes in the plaintext or key result in widespread, unpredictable changes in the ciphertext. These principles, first articulated in the mid-20th century, remain the foundation for all modern block cipher designs and are indispensable for ensuring the confidentiality and security of digital communications.

Other recent questions and answers regarding Modes of operation for block ciphers:

  • Does the security of block ciphers depend on combining confusion and diffusion operations many times?
  • Does diffusion mean, that single bits of ciphertext are influenced by many bits of plaintext?
  • Does the ECB mode breaks large input plaintext into subsequent blocks
  • Can we use a block cipher to build a hash function or MAC?
  • Can OFB mode be used as keystream generators?
  • Can an encrytion be deterministic?
  • What are modes of operation?
  • What does the ECB mode do to simple block ciphers
  • Can PSRNG be made by block ciphers?
  • Can a MAC be built by block ciphers?

View more questions and answers in Modes of operation for block ciphers

More questions and answers:

  • Field: Cybersecurity
  • Programme: EITC/IS/CCF Classical Cryptography Fundamentals (go to the certification programme)
  • Lesson: Applications of block ciphers (go to related lesson)
  • Topic: Modes of operation for block ciphers (go to related topic)
Tagged under: Block Ciphers, Confusion, Cryptography, Cybersecurity, Diffusion, Shannon
Home » Cybersecurity » EITC/IS/CCF Classical Cryptography Fundamentals » Applications of block ciphers » Modes of operation for block ciphers » » What should a block cipher include according to Shannon?

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (105)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Medium publ.)
  • About
  • Contact

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.
Eligibility for EITCA Academy 90% EITCI DSJC Subsidy support
90% of EITCA Academy fees subsidized in enrolment

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on X
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF) in series of projects since 2007, currently governed by the European IT Certification Institute (EITCI) since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    EITCA Academy
    • EITCA Academy on social media
    EITCA Academy


    © 2008-2026  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP

    We care about your privacy

    EITCI uses cookies and similar technologies to keep this site secure, remember your choices, provide personalized experience, measure the traffic, serve more relevant content and certification programmes. You can accept all cookies or customize your preferences. Cookies are variables used to store website specific information on your device to facilitate processing of data for personalized website visit, such as login to your account, accessing the programmes, placing enrolment orders in chosen programmes and improving your EITC certification journey. You can change or withdraw your consent at any time by clicking the Consent Preferences button at the left-bottom of your screen. We respect your choices and are committed to providing you with a transparent and secure browsing experience, which may be limited when cookies aren't accepted. For more details refer to the Privacy Policy
    Customize Consent Preferences
    We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
    The cookies categorized as Necessary are stored on your browser as they are essential for enabling the basic functionalities of the site.
    To learn more about how Google processes personal information, visit: Google privacy policy

    Necessary

    Always Active

    Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

    Functional

    Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

    Preferences

    Stores personalization choices such as interface preferences.

    External media and social features

    Allows embedded video, social, chat, and external interactive services that may set their own cookies. Keep off until the user chooses these features.

    Analytics

    Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

    Marketing and conversions

    Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

    CHAT WITH SUPPORT
    Do you have any questions?
    Attach files with the paperclip or paste screenshots into the message box (Ctrl+V). Max 5 file(s), 10 MB each.
    We will reply here and by email. Your conversation is tracked with a support token.