Cryptology and Coding Theory Exam 2023
Cryptology and Coding Theory Exam 2023
INSTRUCTIONS:
GOOD LUCK!!
* The exam Should be completed in 3 Hours. You have 1 extra hour to complete all
the submission formalities.
SECTION A: (40 Marks)
(a) Explain what you think Cryptology is all about giving suitable example
of how you interact with Cryptology in your day-to-day activities as a
student. (4)
(b)Describe how a one-way hash function may be used for message
authentication (5).
(c) Explain how public key cryptography may be used for identification.
(5)
(d)Explain what a nonce is and the reason for using a nonce. [3]
(e) Briefly explain your understanding of the following terms; (2 @)
Cryptology
Cryptography
Cryptanalysis
Crypto
(f) Given a 3DES implementation defined by K 1 = 100110, K2 = 0011, K3 =
111010 and E (k, m) = k ⊕ m. Give the cipher text of the message, m
= 10110011 (6).
(g)Explain Shannon’s Channel Coding Theorem. (5)
(h)Alice wants to encrypt some sequence of independent decimal digits
and send to Bob. Let EK denote the encryption function operating on
decimal digits. A sequence of decimal digits M1, M2, . . . , Mn ∈ Z10
is encrypted to a sequence of ciphertext symbols C1, C2, . . . , Cn , Ci ∈
Z10 by Ci = EK (Mi ), ∀i, 1 ≤ i ≤ n.
(b)Given the 3 round Feistel network below defined with the following
001110, f(x, k) = x ⊕ k
F(Li) = Li + 1011 ⊕k
Give values for R1, L1, R2, L2, R0, L0. (8)
Question 3
Suppose Alice wants to send her Bank a message that includes her promise
to pay Charlie $50 dollars. Alice and the Bank have a shared secret X. Alice
identity, the Bank’s identity, and a nonce). Assume that Bank tracks the
(a) Specify a valid reply for the Bank (i.e., a message generated by the
Bank to be sent to Alice) that would enable Alice to verify that the
(b) In order to setup a secure communication, Alice and the Bank need a
secret session key. Suppose that the Bank chooses a session key K by
XORing some pseudorandom data with X and includes it with the reply
in (a) above. Extend message (a) to provide the session key to Alice
(c) Now, Alice can submit her message (“Pay Charlie $50 from my
account”) to the Bank. Write the message in such a way that Charlie
cannot replay it (Hint: you will need to add something to the message
Question 5
malevolent associate Eve read the message. There is only one way to
Question 6