Ex1. Alice has agreed with Bob on p=29 and n=11 to use in DH-KAP.
- Confirm that n is primitive modulo p.
- If Alice's secret exponent is a=19 and she received n\(^b=12(mod p)\) from Bob then:
- Compute n\(^a(mod p)\) that she sent to Bob.
- Compute their agreed secret key K\(_{ab}\).