×

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

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.

Need of Blockchain

Blockchain is an open and decentralized network, which stores redundant data at multiple sites called nodes (computers). Its properties, such as immutability, distributed control, highly secured encrypted blocks, and anonymity, make it ideal...

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.

Key Concepts in Bitcoin

There are many countries in this world and each country uses their currency for trading purpose. Some of them use the dollar, pound, euro, yen & rupee etc. These currencies...

3 minutes read.

Blockchain Versions

Blockchain Versions Blockchain technology has gained popularity because it offers decentralized and transparent storage to record transactions and data. Generally  Blockchain relates with the bitcoin and cryptocurrency. Since 2009, Blockchain technology has been...

2 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.

What does Blockchain contain?

A Blockchain is a network of interconnected blocks. Four components make up a block: NonceMerkle tree rootPrevious HashThe timestamp A cryptographic hash of the contents from the preceding block is contained in...

3 minutes read.

How can Blockchain Technology help IoT to reach its full potential

The Blockchain technology has huge potential to speed up the IoT's efficient operation. Since then, security has been a big worry with IoT, which has hampered its widespread adoption. IoT...

4 minutes read.

How to Block Hashes Work in Blockchain

Working of Block Hashes in Blockchain It is a concept for storing data digitally. It will be available to everyone (publicly). Whoever wants to see it will be able to see...

4 minutes read.

Key Areas of Blockchain

As we know that Blockchain is the backbone of the technology of digital cryptocurrency (Bitcoin). The Blockchain contains all transaction records which are stored in a distributed database; it even...

3 minutes read.

Blockchain Explorer

Blockchain Explorer A blockchain explorer is an online webpage similar to Mozilla and Google Chrome, which allows users to browse and explore information about blockchain technology. All bitcoin and ether users depend on blockchain explorer...

3 minutes read.

Blockchain Merkle Tree

The Merkle tree is an essential component of Blockchain technology. It is a mathematical data structure composed of hash of various data blocks that serves as an overview of all...

4 minutes read.

Who sets the Bitcoin Price

The function of Bitcoin is very similar to a commodity. Bitcoin's price is decided by the market where it is traded. To put it another way, how much someone is...

4 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.

Difference between Blockchain and Database

A Blockchain is a distributed database or ledger in which data is stored in blocks. It is built on distributed ledger technology, which may be utilized between parties that do...

3 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.

Advantages of Cryptography

Cryptography is the practice of secure communication in the presence of third parties. It allows for the secure exchange of information between two or more parties and can be used...

4 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.

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.

Sending and Receiving Bitcoin

The goal of this part is to show you how to get started with Bitcoin in a simple way. 1. Get to Know Bitcoin Bitcoin has certain unusual characteristics. It behaves similarly...

4 minutes read.