Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
43 views2 pages

School of Computer Science and Engineering: CSE 1011: Cryptography Fundamentals Fall Semester-2020 Instructions For Lab

This document provides instructions for Lab Experiment 2 of the Cryptography Fundamentals course. Students are advised to use C, C++, or Python and submit their own original work before the deadline. The lab involves encoding messages using the DES algorithm and exploring how the encoded output changes with small alterations to the message or key. It also involves encrypting a sample text file using the AES symmetric key algorithm with the key "infosec" and comparing the encrypted file to the original.

Uploaded by

google user
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

School of Computer Science and Engineering: CSE 1011: Cryptography Fundamentals Fall Semester-2020 Instructions For Lab

This document provides instructions for Lab Experiment 2 of the Cryptography Fundamentals course. Students are advised to use C, C++, or Python and submit their own original work before the deadline. The lab involves encoding messages using the DES algorithm and exploring how the encoded output changes with small alterations to the message or key. It also involves encrypting a sample text file using the AES symmetric key algorithm with the key "infosec" and comparing the encrypted file to the original.

Uploaded by

google user
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SCHOOL OF COMPUTER SCIENCE AND ENGINEERING

CSE 1011: Cryptography Fundamentals

Fall Semester-2020

Instructions for Lab:

1. The students are advised to use only C / C++ programming language or Python
programming language. Basic programming knowledge in C or Python is required.
2. The students are strongly advised to follow the submission deadline. Late submission /
e-mail submission will not be considered.
3. Students are advised to submit only their own work.

Lab Experiment 2

Modern Cryptographic Algorithms (DES / AES)

1. Encode a message using DES. Try the following experiments and note how they
change the output:
a. Change one character at the end of the message. How much of the encoded
message changes?
b. Change one character at the beginning of the message. How much of the
encoded message changes?
c. Delete one character at the end of the message. How much of the encoded
message changes?
d. Change one character in the key. How much of the encoded message
changes?
e. Decrypt a message using a key with one character changed. Does it look
anything like the original?
2. Create text file “sample.txt”; encrypt the file using a symmetric key (AES
algorithm). The first time when code is run, a folder is created. You will be asked
to enter a key. The key used is “infosec”. An encrypted file is now created in the
same location as the plaintext file. Show the difference in files. Also perform the
decryption of the encrypted file.

You might also like