You have chosen to sponsor your bid up to a maximum amount of .
Write four programs (in any language that supports fork and pipe, e.g., C and Python).
Each program creates two children processes: The first is “Alice” and the 2nd is “Bob”
Alice and Bob communicate using the following IPC methods:
Alice and Bob uses Diffie-Hellman to establish a shared secret to be used for encrypting their communication.
For the purpose of this assignment, assume:
p = 103
g = 101
SA and SB are random numbers between 1 and 100.
Qsocket: Using sockets for IPC
Diffie-Hellman Parameters p=103 and g=101
Alice: pid=64589, my Parent pid=64588
Bob: pid=64590, my Parent pid=64588
Alice Random Secret: 18
Alice Public T: 9
Bob Random Secret: 98
Bob Public T: 58
Bob: Connected to Alice
Alice: Accepted connection from Bob
Bob send to Alice its Public T: 58
Alice send to Bob its Public T: 9
<< Alice Got Bob Public T: 58
Alice-to-Bob Shared Secret: << (93) >>
>> Bob Got Alice Public T: 9
Bob-to-Alice Shared Secret: << (93) >>
Parent: Alice Exited
Parent: Bob Exited