Diffie-Hellman Key Exchange

Goal: To exchange cryptographic keys over a public channel.
Then we can encrypt all future communication!

Prereqs:

Operations:

Establish givens which will be public

Allie

Choose a secret integer for Allie


Calculations: Then we send A over to the other person. This will be assumed to be publicly accessible. Wait for B to be sent from the other person to calculate the secret. Once we have B we can calculate the secret.


Butch

Choose a secret integer for Butch


Calculations: Then we send B over to the other person. This will be assumed to be publicly accessible. Wait for A to be sent from the other person to calculate the secret. Once we have A we can calculate the secret.