×

Data Encryption Standards

The Data Encryption Standards was introduced by the National Institute of Standards and Technology. A Feistel Cipher is implemented in DES. The Data Encryption Standards was developed by the company named IBM in the early 1970s and the development of this system is based on the inventions of Horst Feistel.

The popularity of the Data Encryption Standard (DES) has been discovered to be slightly declining because of the discovery that DES is susceptible to very strong attacks. Data encryption standard usually works based on block cypher, and it encrypts the data in 64bits each. The key is 56 bits long.

History of Data Encryption Standards

The National Bureau of Standards first studied the security of US government computers in 1972 and found a need for a government-wide standard for encrypting sensitive, unclassified data. This is when DES was born.

How does Data Encryption Work?

As a result, the original 64-bit key is reduced to a 56-bit key by throwing away every eighth bit of the key. DES is built on substitution (also known as confusion) and transposition, two key components of cryptography (also called diffusion). Each of the 16 steps in DES is referred to as a round. In Data Encryption standards, all the 16 steps are a single round.  The stages of substitution and transposition are carried out in each round.

  • The 64-bit plain text block is sent to the initial Permutation (IP) function in the first phase.
  • The first permutation is applied to plain text.
  • The encryption process now includes 16 cycles for both LPT and RPT.
  • After reuniting LPT and RPT, the combined block is sent through a Final Permutation (FP).
  • This procedure generates 64-bit ciphertext as the result.

Steps in Data Encryption Standards

There are three steps in the Data Encryption.

  • Initial Permutation
  • Key Transformation
  • Expansion Permutation

Initial Permutation

Before the first round, the initial permutation (IP) occurs only once. As seen in the graphic, it makes suggestions for how IP transposition should go. Nothing more than a bit-position juggling game with the initial plain text block is being done here. All other bit locations are subject to the same regulation.

Simple bit-position juggling with the initial plain text block is all that is involved in this. The same principle applies to all other bit places shown in the illustration.

Data Encryption Standards

Key Transformation

As mentioned, the initial 64-bit key is reduced to 56 bits by throwing away every eighth bit. Consequently, a 56-bit key is accessible for each. A procedure known as key transformation is used to create a unique 48-bit Sub Key from this 56-bit key throughout each round. The 56-bit key is split into two parts, each of 28 bits, for this purpose. Depending on the round, these halves have a circular left shift of one or two locations.

For instance, if the round number is 1, 2, 9, or 16, the circular shift is carried out by two positions for additional rounds. The figure displays how many key bits are shifted per cycle.

Data Encryption Standards

48 of the 56 bits are chosen after the proper shift. The table is depicted in the image below for choosing 48 of the 56 bits. For instance, bit number 14 shifts to the first position following the shift, followed by bit number 17, and so on. We can see that the table only has 48-bit positions if we look at it closely. To decrease a 56-bit key to a 48-bit key, bit number 18 is eliminated along with 7 other bits (bit number 18 will not appear in the table).

Data Encryption Standards

Expansion Permutation

The term "expansion permutation" refers to the permutation of bits as well. This occurs because the 32-bit RPT is split into 8 blocks, each of which has 4 bits. Then, after adding 2 extra bits to each 4-bit block, each 4-bit block from the previous phase is increased to a corresponding 6-bit block. While producing output, this process causes the input bit to expand and be permuted. The 56-bit key is compressed to 48 bits during the key translation procedure. The 32-bit RPT is then expanded to 48 bits by the expansion permutation method. The 48-bit key and 48-bit RPT are now XORed before the output is given to the S-Box substitution.


Related Topics

Top Blockchain Project Ideas for Beginners

Blockchain is a distributed, unchangeable ledger that makes it easier to record transactions and track assets within a business network. An asset can be either physical (a house, car, money,...

6 minutes read.

DNA cryptography

What is DNA Cryptography? DNA Cryptography is the branch of science that is used to encrypt and decrypt the data for hiding propose. It has a significant role in the field...

3 minutes read.

ElGamal Algorithm

What is ElGamal Algorithm? ElGamal Algorithm is an asymmetric key encryption technique for communicating between two parties and encrypting the message. With the help of cryptography, the employee can communicate securely....

3 minutes read.

ECB Mode in Cryptography

What is Electronic Code Book (ECB)? Electronic Code Book (ECB) is a simple type of operational technique associated with a block cipher and performs symmetric key encryption. It is also a technique...

3 minutes read.

Project Ideas on Blockchain for Professionals

We have moved on from the days when Blockchain was solely employed in the context of cryptocurrencies. It is currently used in a broader range of applications, and it will continue...

4 minutes read.

IDEA: International Data Encryption Algorithm

The International data encryption algorithm (IDEA) is a symmetric key algorithm that is designed to convert text into an unreadable text format. It uses a 128 bits block size and...

3 minutes read.

Blockchain Tutorial

The 21st century is all about digitalization and technology. With the rising need for modernization in our daily lives, people are exploring new technologies. Blockchain technology has created a stir...

6 minutes read.

Ethereum 2.0

What is Eth2? Eth2 refers to a set of improvements to security, Ethereum's scalability and long-term sustainability. These improvements are being worked on by a number of teams from throughout the Ethereum...

6 minutes read.

Feistel Cipher in Cryptography

What is Feistel Cipher? A Feistel Cipher is a structural model that is used to build various symmetric block Ciphers similar to DES. This structural model can be self in veritable....

4 minutes read.

Introduction and Features of Cryptography

What is Cryptography? Secret coding has been a part of military activities for many years. In old times people know how to communicate privately. So we can say that private communication...

3 minutes read.

Blockchain Pow

Blockchain Pow is an acronym that stamds for Blockchain sProof of work. Pow (Proof of work) is an original agreement (consensus) algorithm in the Blockchain network. This algorithm is generally...

3 minutes read.

IP Security in Cryptography

IPsec (Internet Protocol Security) is a collection of algorithms and protocols used to secure the data transmitted over a public network. The Internet Engineering Task Force (IETF) was developed in...

6 minutes read.

Smart Contracts

What is a Smart Contract? A smart contract is a self-executing computer program. It is a decentralized computation program, which directly controls the transfer of digital assets between different parties under certain pre-defined...

5 minutes read.

Top 10 Blockchain Project Concepts

A platform for Trusted Crowdfunding Using a Smart Contract According to reliable studies, 85% of firms delay delivery, and 14% never fulfill the promises made to angel investors. Currently, there are...

4 minutes read.

Blockchain Bitcoin Cash

Bitcoin Cash is an internet- grounded peer-to- peer electronic cash system. It is fully decentralized, with no central bank, and doesn’t calculate on third parties to serve. Bitcoin Cash is...

4 minutes read.

Elliptic curve in cryptography

What is Elliptical Curve Cryptography (ECC)? Elliptic Curve Cryptography (ECC) is public key cryptography based on elliptic curve theory. It can be used to create smaller, faster and more efficient public...

4 minutes read.

Blockchain Hash Function

A hash function is a type of function which takes input in string format (alphabets, media files, numbers) of any length provided by the users and converts it to a...

3 minutes read.

Basic Component of Bitcoin

As we know that Bitcoin is a digital currency (cryptocurrency). It is a virtual currency or digital token, as well as it is a network on which all such digital...

3 minutes read.

HMAC Algorithm in Cryptography

HMAC stands for Hash-Based Message Authentication Code. It is a type of message authentication code that is obtained by executing a cryptographic hash function that is used to be authenticated...

3 minutes read.

How to choose Bitcoin Wallet

This section will walk you through the process of selecting a Bitcoin wallet. If you wish to participate in Bitcoin, you'll need a wallet. You may receive Bitcoins, transmit Bitcoins,...

3 minutes read.