Question: Exercise 2 : Diffie - Hellman key exchange Reem and Hala want to establish a shared secret key using the Diffie - Hellman key exchange
Exercise : DiffieHellman key exchange
Reem and Hala want to establish a shared secret key using the DiffieHellman key exchange protocol. They agree on the following parameters:
Prime number
Primitive root of
Verify if the value of is a primitive root of
Reem chooses her private key as and Hala chooses his private key as
Calculate the following:
a Reem's public key
b Hala's public key
c The shared secret key that Reem and Hala will derive.
After establishing the shared secret key K using the DiffieHellman key exchange protocol, Reem and Hala decide to use the Caesar cipher for encrypting their messages. The Caesar cipher is a simple substitution cipher where each letter in the plaintext is shifted a certain number of positions down the alphabet.
The encryption function for the Caesar cipher is as follows:
Enc
is the letter to be encrypted where dots,
is the shared secret key
Enc is the encrypted letter.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
