1 / 16

DES (Data Encryption Standard)

DES (Data Encryption Standard). Visit for more Learning Resources. DES is a symmetric block cipher algorithm . It encrypts data 64 bits plain text block under the control of 56 bit key which produces 64 bits of cipher text. DES is based on the two fundamental attributes of cryptography:

Télécharger la présentation

DES (Data Encryption Standard)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DES(Data Encryption Standard) Visit for more Learning Resources

  2. DES is a symmetric block cipher algorithm . • It encrypts data 64 bits plain text block under the control of 56 bit key which produces 64 bits of cipher text. • DES is based on the two fundamental attributes of cryptography: • substitution and transposition

  3. Steps in DES

  4. Initial Permutation • It happens only once. • It replace 1st bit of original plain text with 58th bit of original plain text and so on. • The resulting 64 bit permuted text block is divided into two half blocks each consist of 32 bits that is LPT(Left Plain Text) and RPT(Right Plain Text) • 16 rounds are performed on this two blocks.

  5. Each round steps(total 16 rounds)

  6. Step 1 : key transformation • The initial key available is 56 bit transformed it into a 48-bit key by discarding every 8th bit of initial key. This procedure is called “Key Transformation” which is repeated for every round.

  7. Step 2: Expansion permutation: • RPT is expanded from 32 bits to 48 bits. • The 32-bit RPT is divided into 8 blocks, with each block consisting of 4-bits. • Each 4-bits block of the previous step is then expanded to a corresponding 6-bit block, per 4-bit block, 2 more bits are added. • The 48 bit key is XORed with the 48-bit RPT and the resulting output is given to the next step.

  8. Step 3: S-box substitution: • It accepts the 48-bits input produces 32-bit output using the substitution techniques. • Each of the 8 S-boxes has a 6-bit input and a 4-bit output. • The output of each S-box then combined to form a 32-bit block, which is given to the last stage of a round.

  9. Step 3: S-box substitution:

  10. Step 4: P- box permutation: • the output of S-box consists of 32-bits. These 32-bits are permuted using P-box.

  11. Step 5: XOR and Swap: • The LPT of the initial 64-bits plain text block is XORed with the output produced by P box-permutation. • It produces new RPT. • The old RPT becomes new LPT, in a process of swapping.

  12. Step 5: XOR and Swap:

  13. Final Permutation: • At the end of 16 rounds, the final permutation is performed. This is simple transposition. For e.g., the 40th input bit takes the position of 1st output bit and so on. For more detail contact us

More Related