×

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

Blockchain Merkle Trees

Blockchain Merkle Trees Merkle Trees are foundation components of the blockchain mechanism. The methodical, systematic, and reliable verification of content in unbounded and dispersed data sets is enabled with the use of Merkle Trees....

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.

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.

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.

Smart Contracts in Blockchain

A Smart Contract (also known as a cryptocontract) is a computer software that manages the transfer of digital assets among parties directly and automatically under specific conditions. A smart contract...

6 minutes read.

Blockchain DAO

In Blockchain, the full form of DAO is Decentralized Autonomous Organization. As the DAO full form says, the organization is both decentralized & autonomous. Sometimes DAO is also known as...

3 minutes read.

Working of Blockchain

How Blockchain Works A Blockchain is simply a collection of records of time-stamped transactions that are managed by a group of servers. There is no central authority who controls the database....

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

Converting Bitcoins to Fiat Currency

Fiat money is a legal tender currency issued by a government for use in its governed areas. Fiat money is money that has value only due to government regulation or...

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

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.

History of Blockchain

History of Blockchain: Satoshi Nakamoto modeled the first Blockchain and explained the details of how a technology was well-found to enhance digital trust, given the immutable and decentralization aspect that...

2 minutes read.

Uses of Blockchain

Nowadays, there are a lot of applications for Blockchain technology exist. The main use of Blockchains is to serve as a distributed ledger for cryptocurrencies like Bitcoin; by the end...

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.

Decentralized Voting System using Blockchain

In the era of Industry 4.0, Blockchain is a technology that is fast gaining traction. It is widely utilized in supply chain management systems, healthcare, payments, business, IoT, voting systems,...

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

Demur-rage currencies in Blockchain

One of the key concepts of Blockchain technology that may be extended and re-understood is currency. Currency, often known as a digital token, allows for quantifiable transfer mechanisms. Demur-rage money...

4 minutes read.

Blockchain Data Management

As we all know, Blockchain is a distributed systems that follows peer-to-peer network and acquire the benefits of peer-to-peer networks such as speed, single-point failure avoidance, and so on. The Peer-to-Peer...

4 minutes read.

Consensus Algorithms in Blockchain

We all know that Blockchain is a decentralized distributed network that provides immutability, privacy, security, and transparency. Considering the absence of a central authority to authenticate & verify transactions, the...

4 minutes read.

What does the IT industry mean by BaaS (Blockchain as a Service)?

Technology is developing quite quickly and all businesses are racing to catch up with these technological advancements or face the danger of going out of business in the long term....

5 minutes read.