What is Expansion Permutation in Information Security?

Information SecuritySafe & SecurityData Structure

This operation expands the right half of the information, R from 32 bits to 48 bits and this operation changes the order of the bits as well as repeating specific bits. It is called an expansion permutation.

This operation has two objective including it creates the right half the similar size as the key for the XOR operation and it supports a longer result that can be compressed during the substitution operation. It can be enabling one bit influence two substitutions, the dependency of the output bits on the input bits spread quicker. This is known as avalanche effect.

DES is designed to reach the action of having each bit of the ciphertext based on each bit of the plaintext and each bit of the key as rapidly as possible. This appears as follows −

  • The 32-bit Right Plain Text is divided into eight blocks, with each blocks including 4 bits.

  • Next each 4-bit block of the following process is expanded to a corresponding 6-bit block. That is per 4-bit block, 2 extra bits are inserted. They are absolutely the repeated first and fourth bits of the 4-bit block.

The second and the third bits are written down as they were in the input. The first bit download is outputted to the second output position, and further renew in output position 48. Likewise, the 32th input bit is found in the 47th output position as well as in the first output position.

Clearly this phase results into expansion as well as permutation of the input bits while making the output. The first input bit goes into the second and the 48th output positions.

The second input bit goes into the third output position, etc. Consequently, it will detect that the expansion permutation has generally used the table display in the figure.

RPT expansion permutation table

3212345456789
8910111213121314151617
161718192021202122232425
24252627282928293031321

It can be view firstly the key-transformation phase compresses the 56-bit key to 48 bits. Thus the expansion permutation process expands the 32-bit RPT (Right Plain Text) to 48 bits. Now the 48 bit key is XORed with the 48-bit RPT, and the resulting output is given to the next step, which is the S-box substitution as display in the figure.

After the expansion permutation, DES need the XOR operation on the expanded right section and the round key.

raja
Updated on 14-Mar-2022 10:07:55

Advertisements