390 likes | 2.43k Views
In this presentation on DES - Data Encryption Standard, we learn about the origin of the encryption algorithm while understanding the importance of Feistel Ciphers. The steps for encryption and decryption are explained in detail, and we also read about the future of the Data Encryption Standard in cryptography. In the end, we take a look at a live example to further highlight the characteristics of DES encryption.<br><br>Learn more at https://www.simplilearn.com/cyber-security-expert-master-program-training-course
E N D
Today’s Agenda What Is DES? Origin of DES Feistel Ciphers How DES Works Future of DES Live Example
What Is DES? • Stands for Data Encryption Standard • Symmetric-Key algorithm using block-by-block encryption • Block size is 64 bits and key size is 48 bits • Follows the Feistel Cipher structure Block 1 Block 2 Block n Plaintext Broken down to 64-bit blocks
Feistel Ciphers • Block Cipher that is used as a structure for encryption algorithms • Uses substitution and permutation alternately • Based on Shannon Structure from 1945 • Developed by Horst Feistel • Reversing the process can decrypt ciphertext back to plaintext
Feistel Ciphers Plaintext (64-bit) Left Half(32-bit) Right Half(32-bit) + XOR Operation F Encryption Key used here New Left Half New Right Half
Round Function One Half (32-bit) Expansion Box + 48-bit Text Kn 48-bit Key 48-bit Output
Round Function 48-bit Output S-Box XOR’d with the other half of plaintext 32-bit Output
Structure Guidelines • Block size should be a compromise between size and speed
Structure Guidelines • Block size should be a compromise between size and speed • Key size is directly proportional to strength of encryption
Structure Guidelines • Block size should be a compromise between size and speed • Key size is directly proportional to strength of encryption • Higher the number of rounds, tougher it is to crack
Structure Guidelines • Block size should be a compromise between size and speed • Key size is directly proportional to strength of encryption • Higher the number of rounds, tougher it is to crack • Round function should be complex
Structure Guidelines • Block size should be a compromise between size and speed • Key size is directly proportional to strength of encryption • Higher the number of rounds, tougher it is to crack • Round function should be complex • Speed is essential to handle large amounts of data
How DES Works – Key Generation 64-bit Plaintext Initial Permutation K0 Round 1 48-bit key K1 56-bit Cipher Key Round 2 Round-key Generator 48-bit key K15 Round 16 48-bit key Final Permutation 64-bit Ciphertext
How DES Works - Decryption 64-bit Ciphertext Final Permutation K15 Round 16 48-bit key 56-bit Cipher Key K1 Round-key Generator Round 2 48-bit key K0 Round 1 48-bit key 64-bit Plaintext Initial Permutation
Modes of Operation Electronic Codebook Cipher Block Chaining DES Cipher Feedback Block Output Feedback Counter Method
Future of DES • Replaced by AES in 2002 as the world standard for encryption • 56-bit key size easily broken by new generation computers • Withdrawn support for official purposes in 2005 • Triple-DES still allowed for important data till 2030