Write four programs (in any language that supports fork and pipe, e.g., C and Python).

En curso Publicado Feb 18, 2014 Pagado a la entrega
En curso Pagado a la entrega

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

Programación en C Programación en C++

Nº del proyecto: #5456046

Sobre el proyecto

2 propuestas Proyecto remoto Activo Feb 18, 2014

Adjudicado a:

Galaxy1988

Hi,I have a lot of c++ programming experience.I figure that I can do this by using IPC method of windows API or MFC function. I am very sure I can complete very [login to view URL] most 2days.I am a master student of university, Más

$30 USD en 2 días
(1 comentario)
0.0

2 freelancers están ofertando un promedio de $28 por este trabajo

irtazaq1

A proposal has not yet been provided

$25 USD en 1 día
(0 comentarios)
0.0