In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about what the DH key exchange protocol is, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
Diffie Hallman (invented in 1976 and won the 2016 Turing Award):
This algorithm is ubiquitous in the public domain, and almost all key exchanges in the public network use this method, which establishes the public key cryptography.
The principle is that An and B want to establish a private key. Many people may not know what a key is, in fact, a key is a rule to convert plaintext into ciphertext or ciphertext into plaintext, which is divided into two kinds, one is symmetric key, the other is asymmetric key. The biggest difference between symmetry and asymmetry is whether it is encapsulated or unsealed with the same rule.
Now A generates a private key XA (what he wants to send), calculates the public key YA (confusing) and sends it to BMagee B and unencapsulates it to get the secret key K inside. Similarly, B also generates a private key XB, and uses the same rule (formula) to calculate that the public key YB is sent to A Magi A to unblock and get the same K (the K before and after must be equal, prove slightly). Finally, a secret key can be determined, that is, K.
The calculation is shown in the figure:
As shown in the figure, XA and XB are what they want to convey. P is a prime and an is an integer, that is, if someone wants to get information, they have to solve the discrete logarithm, which is a very complicated process.
Flaw: what if an attacker intercepts the public key, disguises it as A, and sends the same message to B?
After reading the above, do you have any further understanding of what the DH key exchange protocol is? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.