Diffie-Hellman Demo (via Python)
Waterloo, Ontario, Canada.
Additional information for enquiring minds
- The Diffie-Hellman algorithm occurs as part of the
symmetric key cryptography (the same key is used to encrypt and
decrypt) handshake. Think about the padlock on your school locker.
- Eve, the eavesdropper can see a few things which can be a
worrisome for those people who think that a super computer could be
used to play along.
- However, if this handshake is further concealed by
asymmetric key cryptography (also known as public key
cryptography where a pubic key is used to encrypt but a private key is used to decrypt)
then Eve will see no part of the symmetric handshake.
- Why not use asymmetric keys all the time?
- first off, asymmetric key cryptography is CPU intensive
while asymmetric key cryptography is much less so.
- secondly, there is an added benefit to using two levels of
- Source Code: