IS_Assignment
IS_Assignment
Assignment - 1
6) From keyword MONARCHY and OCCURRENCE create play fair matrix and encrypt
plaintext = “ATTACK ON PAKISTAN”.
7) Encrypt the message “GTU Examination” using the Hill cipher algorithm with the key
matrix 5 17 Show your calculations and the result.
4 15
8) Using the Vigenère cipher, encrypt the word “ATTACKATDAWN” using the key
“LEMON”.
9) Explain Columnar Transposition Cipher and Rectangular Transposition with example.
10) Differentiate Substitution and Transposition Techniques.
Assignment - 2
1) Write Difference between following: (i) block cipher and stream cipher
(ii) Confusion and Diffusion
3) Draw block diagram to show Broad level steps in DES and also give steps of one
round in DES with another diagram.
Assignment – 3
Assignment - 4
(1) Explain Public key cryptosystems : Authentication, Confidentiality and Authentication and
Confidentiality.
(2) Differentiate between Conventional encryption and Public-key encryption.
(3) Write down steps for the RSA Algorithm.
(4) Perform encryption and decryption using the RSA algorithm for the following:
a. p = 3; q = 11, e = 7; M = 5
b. p = 5; q = 11, e = 3; M = 9
c. p = 7; q = 11, e = 17; M = 8
d. p = 11; q = 13, e = 11; M = 7
e. p = 17; q = 31, e = 7; M = 2
(5) In a public-key system using RSA, you intercept the ciphertext C = 10 sent to a user whose
public key is e = 5, n = 35. What is the plaintext M?
(6) Users A and B use the Diffie-Hellman key exchange technique with a common prime q = 71
and a primitive root a = 7.
a. If user A has private key XA = 5, what is A’s public key YA?
b. If user B has private key XB = 12, what is B’s public key YB?
c. What is the shared secret key?
(7) Consider a Diffie-Hellman scheme with a common prime q = 11 and a primitive root a = 2.
a. Show that 2 is a primitive root of 11.
b. If user A has public key YA = 9, what is A’s private key XA?
c. If user B has public key YB = 3, what is the secret key K shared with A?
(8)Explain Man in the middle attack.
Assignment - 5
Assignment - 6
Assignment - 7
Assignment – 9