Diffie-Hellman Key Exchange-a non-mathematician's explanation

Source: Internet
Author: User
The complete Diffie-Hellman Key Exchange digoal

  • The process begins when each side of the Communication generates a private key. Each side then generates a Public Key (letter B), which is a derivative of the private key.
  • The two systems then exchange their public keys. Each side of the communication now has its own private key and the other system's public key (see the area labeled letter C in the diagrams ).
  • Once the key exchange is complete, the process continues. The DH protocol generates "shared secrets"-identical cryptographic keys shared by each side of the communication.
  • The Shared Secret encrypts a specified Ric key for one of the specified Ric algorithms, transmits it securely, and the distant end decrypts it with the shared secret.
The amateur mathematician's explanation for "DH math"

?

Using a common number, both sides use a different random number as a power to raise the common number. the results are then sent to each other. the specified ing party raises the specified ed number to the same random power they used before, and the results are the same on both sides. it's very clever. there is more computation in actual practice, but this example, which uses tiny numbers to define strate the concept, shows a very clever mathematical approach. each party raises the common number which is 2 in this example (this has nothing to do with binary-it is just the number "2 ") to a random power and sends the result to the other. the specified ed number is raised to the same random power. note that both parties come up with the same secret key, which was never transmitted intact.

?

?

Src = https://learningnetwork.cisco.com/.../WP_Palmgren_DH.pdf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.