cs609 Assignment 1 (mc180200043)
cs609 Assignment 1 (mc180200043)
01
Semester: Spring 2022 Total Marks: 20
Mc180200043 (Sarmad)
DueDate: 09th June, 2022
System Programming – CS609
QUESTION: 1:- Encryption is a process which scrambles the data, so that it can only be ready by the
authorized person. In today’s world, encryption is an integral part of information security. This
technique dates back to the Roman Empire era. They use basic encryption techniques to encrypt
their secret conversations in war days. One of the various techniques is the Caesar Cipher Decryption
algorithm.
In this method an alphabet is substituted by another alphabet placed n positions forward in a circular
manner.
Write a function in C/C++ to implement a Caesar Cipher Decryption algorithm. This function will
convert an input file containing some cipher-text (of alphabets only) into output file of plain-text.
Detailed Instructions:
i. The function will take the following
a. Two file paths (input and output)
b. One Shift variable of DEORD type
ii. Take 5 as the value of Shift variable.
iii. Input file should be converted to plain-text file, byte-by-byte.
iv. The function must ignore any error reporting messages.
SOLUTION:
Solution:
BEST OF LUCK