Question: I understand what and how the Diffie Hellman Key exchange works, but can not figure out how to implement it between a Client and Server
I understand what and how the Diffie Hellman Key exchange works, but can not figure out how to implement it between a Client and Server in a chat program I am making. Please give an example of how the server could send the two publically known keys ( n and g) to client and from there they compute the shared secret key to connect and begin chatting with encrypted messages. Please show an example using JAVA. thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
