Diffie Hellman Key Exchange algorithm
Client
Create Private Key (CPr1 * CPr2) Calculate initial value RN^(Private-Key) mod PM ---->
.
Shared key is SV^(Private-Key) mod PM
Public Space
.
Server
Create Private Key (SPr1 * SPr2) Calculate initial value <---- RN^(Private-Key) mod PM
.
Shared key is CV^(Private-Key) mod PM