Diffie Hellman密钥交换

编程入门 行业动态 更新时间:2024-10-25 16:20:52
本文介绍了Diffie Hellman密钥交换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我发现Microsoft最终在 3.5中实现了diffie-hellman. 是否可以通过此实现进行密钥交换? 我希望能够从密钥交换数据中解密机密信息. 然后,我想使用P和G参数 Wiki ... [ ]创建密钥交换. 我已经研究了一个小时,而msdn并没有对的这一部分进行充分解释:叹气: 有人有想法吗?:confused:

I''ve found out that Microsoft finally implemented diffie-hellman into 3.5 Is it possible to do a key exchange with this implementation? I want to be able to decrypt the secret information from the key exchange data. Then I want to use the P and G paremeters Wiki...[] to create a key exchange. I''ve been looking into this for an hour and msdn isn''t quite explaining about this part of :sigh: anybody an idea?:confused:

推荐答案

除了MSDN之外,您还尝试了其他任何方法吗? 我找到了这篇文章:椭圆曲线Diffie-Hellman [ ^ ]作为Google搜索".NET Diffie-Hellman."的第一个结果. 它看起来像在向您显示您的要求. [回应] .Net实现似乎没有直接公开g和p值,也似乎没有可以设置它们的值.虽然可以传递CngKey 要进行密钥交换,您只需传递彼此的PublicKey值即可. 如果想要真正的实现,则可能需要查看第三方dll,例如允许p和g的Chilkat. Did you try anything besides MSDN? I found this article: Elliptic Curve Diffie-Hellman[^] as the first result in a google search of ".NET Diffie-Hellman. It looks like it shows you what you''re asking. [Response] The .Net implementation doesn''t appear to directly expose the g an p values, and it doesn''t appear that they can be set either. Though you can pass a CngKey To do a key exchange, you simply pass each other''s PublicKey value. If you want a true implementation, you may want to look at third-party dlls, such as Chilkat which allows for p and g.

更多推荐

Diffie Hellman密钥交换

本文发布于:2023-11-16 23:13:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1607891.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密钥   Diffie   Hellman

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!