Completed

Write some Software

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

sockets

pipe

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: C Programming, C++ Programming, Python

See more: the first programming language, python programming uses, python programming software, programs in c language, programming for children, programming 101, pid programming, p.c. connection, children programming, alice programming language, alice programming, python programming language , programming language python, write p, alice, diffie hellman using language, using fork program, diffie hellman program using, connection python, pid connection, diffie hellman, shared memory communication, python program language, write programs using fork, software pid

About the Employer:
( 27 reviews ) los angles, United States

Project ID: #5477820

Awarded to:

sherbin83

Although I'm a new free-lancer, but I have enough experience, trust me. This is the first time I bid for a project

$25 USD in 7 days
(0 Reviews)
0.0

3 freelancers are bidding on average $249 for this job

ineedWorkJob

Greetings sir, i am an expert freelancer. for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert desktop software/macro/bot/ More

$500 USD in 5 days
(101 Reviews)
6.4
KingOfPhoenix

Hi, Friend, I have the experience in C/C++ programing. I will finish your task today. Thanks.

$103 USD in 0 days
(7 Reviews)
4.6
jasqwerty

Hey, if you want this done fast, safe and right, without having your project outsourced to someone else by an Indian lead hunter, I have commercial experience coding in C, as well as teaching in a university setting so More

$49 USD in 1 day
(13 Reviews)
4.5
hddh

Hi, I can do it. Please send me more detail info. Let me know its deadline and its budget. Regards, --Hung

$222 USD in 1 day
(13 Reviews)
3.9