1. Alan and Bill agree (through a public exchange) on using the Diffie-Hellman algorithm to create a common secret key. They also agree on two public numbers: q (large prime number), a (generator mod q):
q = 7, a = 2
Alan generates a random CA , use CA to calculate DA and then sends DA to Bill. Alan has also received a value DBfrom Bill.
Bill generates a random CB , use CB to calculate DB and then sends DB to Alan. Bill has also received the value DAsent from Alan as mentioned above.
(a) What is DA? (i.e. DA =?)
(b) What is DB? (i.e. DB =?)
(c) What is the common secret key between Alan and Bill?