×
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

How may subkeys does DES cipher use?

by Emmanuel Udofia / Monday, 05 August 2024 / Published in Cybersecurity, EITC/IS/CCF Classical Cryptography Fundamentals, DES block cipher cryptosystem, Data Encryption Standard (DES) - Encryption

The Data Encryption Standard (DES) is a symmetric-key algorithm for the encryption of digital data. Symmetric-key algorithms use the same key for both encryption and decryption, which necessitates secure key management. DES is a block cipher, meaning it encrypts data in fixed-size blocks. Specifically, DES processes data in 64-bit blocks, utilizing a 56-bit key to perform the encryption and decryption processes. The key length is actually 64 bits, but 8 of those bits are used solely for parity checking and do not contribute to the effective key strength.

The DES algorithm employs a series of complex transformations to ensure the security of the encryption. One of the fundamental components of DES is the use of subkeys. Subkeys are derived from the main key and are used in the various rounds of the encryption process. In DES, the encryption process involves 16 rounds of permutation and substitution, and a unique subkey is used in each round.

To understand how subkeys are generated and used in DES, one must consider the key schedule algorithm. The key schedule is a important part of DES that describes how the main key is transformed into the 16 subkeys. Here is a detailed explanation of this process:

1. Initial Key Permutation (PC-1): The first step in generating subkeys is to permute the original 56-bit key using a fixed table known as Permuted Choice 1 (PC-1). This permutation rearranges the bits of the key to produce a 56-bit output. The bits are not simply shuffled; they are selected and reordered according to the PC-1 table. The 64-bit key, with 8 parity bits removed, is reduced to 56 bits.

2. Splitting the Key: The 56-bit permuted key is then divided into two 28-bit halves, denoted as C_0 and D_0. These halves will be used to generate the subkeys for each round.

3. Key Shifts: For each of the 16 rounds, the two halves C_i and D_i are cyclically shifted left by one or two positions. The number of positions shifted depends on the round number. Specifically, the shift values are determined by a predefined schedule. For example, in the first round, both halves are shifted left by one position, while in the second round, they are shifted by two positions, and so on. This shifting process ensures that each subkey is derived from a different permutation of the original key.

4. Permuted Choice 2 (PC-2): After the left shifts, the two 28-bit halves are combined to form a 56-bit concatenated key. This 56-bit key is then permuted again using another fixed table known as Permuted Choice 2 (PC-2). PC-2 selects 48 bits from the 56-bit concatenated key to form the subkey for that round. The selection and reordering of bits are done according to the PC-2 table, ensuring that each subkey is unique and derived from the original key in a complex manner.

5. Subkey Generation: This process is repeated for each of the 16 rounds, resulting in 16 unique 48-bit subkeys. These subkeys are denoted as K_1, K_2, \ldots, K_{16}, where K_i represents the subkey used in the i-th round of the DES algorithm.

The use of subkeys in DES is integral to the encryption process. During each round of DES, a subkey is combined with the data block using a series of transformations, including the Feistel function. The Feistel function is a critical component of DES and involves several steps:

1. Expansion: The 32-bit half-block of data is expanded to 48 bits using an expansion permutation. This permutation replicates certain bits to increase the size of the half-block, ensuring that it matches the size of the subkey.

2. Key Mixing: The expanded 48-bit data block is XORed with the 48-bit subkey for that round. This operation combines the data with the subkey in a way that is difficult to reverse without knowledge of the subkey.

3. Substitution: The result of the XOR operation is divided into eight 6-bit segments. Each segment is then passed through a substitution box (S-box), which maps the 6-bit input to a 4-bit output. DES uses eight different S-boxes, each with a unique substitution pattern. The S-boxes introduce non-linearity into the encryption process, which is important for the security of DES.

4. Permutation: The 32-bit output from the S-boxes is then permuted using a fixed permutation table known as the P-box. This permutation reorders the bits to further obscure the relationship between the plaintext and the ciphertext.

5. Feistel Structure: The output of the P-box is XORed with the other half-block of data. This completes one round of the Feistel structure, and the process is repeated for each of the 16 rounds, using a different subkey each time.

The repeated use of subkeys in conjunction with the Feistel function ensures that the encryption process is highly secure. Each round introduces additional complexity and diffusion, making it extremely difficult for an attacker to reverse the encryption without knowledge of the key.

To illustrate the subkey generation process with an example, consider a simplified version of DES with a shorter key and fewer rounds. Suppose we have an 8-bit key and 4 rounds of encryption. The key schedule might look like this:

1. Initial Key: 10110110 (8 bits)

2. Initial Permutation (PC-1): Rearrange the bits to form the 6-bit key: 110110 (6 bits)

3. Splitting the Key: Divide the 6-bit key into two 3-bit halves: C_0 = 110 and D_0 = 110

4. Key Shifts:
– Round 1: Shift left by 1 position: C_1 = 101 and D_1 = 101
– Round 2: Shift left by 2 positions: C_2 = 011 and D_2 = 011
– Round 3: Shift left by 1 position: C_3 = 110 and D_3 = 110
– Round 4: Shift left by 2 positions: C_4 = 011 and D_4 = 011

5. Permuted Choice 2 (PC-2): Select 4 bits from the combined 6-bit key for each round:
– Round 1 Subkey: 1010
– Round 2 Subkey: 0011
– Round 3 Subkey: 1010
– Round 4 Subkey: 0011

In this simplified example, the subkeys are generated by permuting and shifting the original key, similar to the process used in DES. Each round uses a different subkey, ensuring that the encryption process is secure and resistant to attacks.

The generation and use of subkeys in DES are fundamental to the security of the algorithm. By transforming the original key into multiple subkeys and using them in a series of complex transformations, DES achieves a high level of security. The intricate process of key schedule and subkey generation ensures that even if an attacker knows the ciphertext, they cannot easily deduce the plaintext or the key.

Other recent questions and answers regarding Data Encryption Standard (DES) - Encryption:

  • Was the DES protocol introduced to improve the security of AES cryptosystems?
  • Which bits of the key are used for parity checking in DES?
  • Can single bit of ciphertext be influenced by many bit of plaintext in DES?
  • Does DES depends on multiple combinations of diffusion and confusion?
  • Is DES prone to the meet-in-the-middle attack?
  • Can permutation be considered as an example of diffusion in a block cipher?
  • At the stage of S-boxes in DES since we are reducing fragment of a message by 50% is there a guarantee we don’t loose data and message stays recoverable / decryptable?
  • What is the significance of the avalanche effect in the DES encryption process?
  • How does the permutation P contribute to the final output of the f function in DES encryption?
  • What is the role of the S-boxes in the DES encryption process?

View more questions and answers in Data Encryption Standard (DES) - Encryption

More questions and answers:

  • Field: Cybersecurity
  • Programme: EITC/IS/CCF Classical Cryptography Fundamentals (go to the certification programme)
  • Lesson: DES block cipher cryptosystem (go to related lesson)
  • Topic: Data Encryption Standard (DES) - Encryption (go to related topic)
Tagged under: Block Cipher, Cryptography, Cybersecurity, DES, Encryption, Feistel Structure, Key Schedule, Subkeys
Home » Cybersecurity » EITC/IS/CCF Classical Cryptography Fundamentals » DES block cipher cryptosystem » Data Encryption Standard (DES) - Encryption » » How may subkeys does DES cipher use?

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
    CHAT WITH SUPPORT
    Do you have any questions?
    We will reply here and by email. Your conversation is tracked with a support token.