Cryptography, Diffie Hellman, Confidentiality, Information Security, Python.
Alice’s public key = public_a = ((g)^private_a) modulus N Bob’s public key = public_b = ((g)^private_b) modulus N Step 4: Alice and Bob exchange the public keys Alice and Bob exchange the public keys, Eve can see them and store them and do whatever. Step 5: Alice and Bob calculate the shared secret