KSA T318 MTA FALL 2022 2023 Version
KSA T318 MTA FALL 2022 2023 Version
KSA T318 MTA FALL 2022 2023 Version
Mid-term
Summer Semester
Date: TBA
Instructions:
Total Marks: 60
Total Number of Questions:
o Part 1: 6
o Part 2: 5
o Part 3: 4
Marks Distribution:
o Part 1: 6 marks
o Part 2: 20 marks
o Part 3: 34 marks
Write your answer in the answer booklets. Answers given on the exam paper will
not be marked.
The use of electronic devices that could have a memory is NOT permitted
Be sure you write your name and ID on the External Answer booklet.
1. Using the Euclidean algorithm, find the greatest common divisor of the following
pairs of integers. (4 Marks)
a. 88 and 220
a. Assuming CBC was used with ABC, decrypt the ciphertext 11110110 using
the key 001 and initialization vector 1110. Explain your calculations in
details. (5 Marks)
b. Consider the cipher ABC being used in Counter Mode to act as a
pseudorandom number generator. If the initial value of the counter is 0000
and the seed is 101, then what are the first 12 pseudorandom bits? (5
Marks)