

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A lab exercise for implementing the data encryption standard (des) encryption and decryption techniques in matlab. The exercise covers key generation, sub key generation, and the implementation of the fk function and main code for encryption and decryption. Students are expected to write programs for each task and display the final ciphertext or plaintext, key, and plaintext.
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!


CE-408: Cryptography & Network Security SSUET/QR/
The purpose of this lab is to implement DES encryption and decryption in MATLAB.
Encryption: It takes 64-bit block of plain text and a 58-bit key as input and produces 64- bit block of cipher text as output. Decryption: It takes 64-bit block of cipher text and the same 58-bit key used to produce that ciphertext as input and produces the original 64-bit block of plaintext. Refer to the detailed figure for encryption and decryption from the lecture notes. The reference figures are shown below for encryption and key generation: Lab#05: Data Encryption Standard (DES) Page | 20
CE-408: Cryptography & Network Security SSUET/QR/