CSE2221 Cryptography Solution
CSE2221 Cryptography Solution
Enrolment No:
Q B3 Perform encryption and decryption using the RSA algorithm for p = 17; q = 31, e = 7; M = 2. [4] CO4
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 = 7, what is A's private key, XA?
c. If user B has public key, YB = 3, what is the shared secret key, K shared with A?
Q B4 [4] CO4
SECTION-C
Use Simplified AES algorithm to encrypt 16-bit plaintext 0101 1011 1110 0100 with the
round keys given as follows.
CO2
Q C1 Key0 = 0100 1010 1111 0101 [8]
CO3
Key1 = 1101 1101 0010 1000
Key2 = 1000 0111 1010 1111