Write some Software

Avg Bid (USD)
Project Budget (USD)
$10 - $30

Project Description:
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:

shared memory
shared file

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.

For example:

% Qsocket

Qsocket: Using sockets for IPC
Diffie-Hellman Parameters p=103 and g=101
Parent: pid=64588
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

Skills required:
C Programming, C++ Programming, Python
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 500
in 5 days
$ 103
in 0 days
$ 49
in 1 days
Hire hddh
$ 222
in 1 days
Hire sherbin83
$ 25
in 7 days