登录
首页 » 加密解密 » –Diffie Hellman密钥交换C

–Diffie Hellman密钥交换C

于 2022-02-21 发布 文件大小:27.84 kB
0 142
下载积分: 2 下载次数: 1

代码说明:

应用背景–Diffie Hellman密钥交换(D–h)[注1 ]是安全地交换密钥在公共信道的具体方法,是第一个公开密钥协议,最初的概念由RalphMerkle。[ 1 ] [ 2 ] D–H是一个最早的实例的公共密钥交换实现在密码学领域。传统上,双方之间需要安全的加密通信,他们首先交换密钥的一些安全的物理信道,如纸的密钥列表由一个受信任的快递。Diffie Hellman密钥交换方法–使双方没有先验知识的彼此共同建立一个共享的密钥在不安全的信道。这个密钥可以用来加密随后的通信使用一个对称密钥密码。关键技术密码解释最简单的协议原有的实现使用整数模p的乘法群,其中p是素数,G是一个原始根模p这是协议的一个例子,在蓝非秘密值,和红色的秘密值。爱丽丝和鲍勃同意用一个模p = 23和g = 5(这是一种原始的根模23)。爱丽丝选择了一个秘密整数a = 6,然后发送给Bob = GA mod p甲= 56国防部23 = 8鲍勃选择一个秘密整数b = 15,然后将爱丽丝B = GB mod p乙= 515国防部23 = 19爱丽丝计算的=钡国防部的= 196国防部23 = 2鲍勃计算S = AB mod p的= 815国防部23 = 2爱丽丝和鲍勃现在分享一个秘密(2号)。爱丽丝和鲍勃到达相同的值,因为:标准的β=(镓),乙模,β=(镓),乙,国防部,国防部,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1鲍勃,(GA mod p)b mod p =(56除以23)15国防部23。请注意,只有一个,B,和(GAB模型P = GBA mod p)是保密的。所有其他的值,磷,克,镓,GA,和英国国防部的标准,是在明确的。一旦爱丽丝和鲍勃计算共享秘密他们可以使用它作为一个加密密钥,只有他们自己知道,在相同的开放式通信信道发送消息。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • how DES algorithm
    如何实现DES算法-how DES algorithm
    2022-10-31 09:50:03下载
    积分:1
  • CCITT并行CRC 16
    CCITT Parallel CRC 16-bit
    2022-04-21 00:41:49下载
    积分:1
  • Altangerel时间限制控件。(源代码,需注册)价格:$35。工作在:D4。作者:Altangerel...
    Altangerel时间限制控件。(源代码,需注册)价格:$35。工作在:D4。作者:Altangerel-Altangerel time limit control. (Source code, to be registered) Price: $ 35. Working in: D4. Author: Altangerel
    2023-05-28 16:20:03下载
    积分:1
  • 数据技术之几种算法 saeuro
    数据加密技术之几种算法 saeuro-1.03d.zip- data encryption technology several algorithms rsaeuro- 1.03d.zip
    2022-02-03 12:45:51下载
    积分:1
  • Arithmetic for integers of almost unlimited size for C and C++. Developed and...
    Arithmetic for integers of almost unlimited size for C and C++. Developed and copyrighted by Ralf Dentzer-Arithmetic for integers of almost unlimit ed size for C and C. Developed and copyrighted by Ralf Dentzer
    2022-08-07 20:43:45下载
    积分:1
  • 实现md5的算法。 实现md5的算法。
    实现md5的算法。 实现md5的算法。-The realization of md5 algorithms. The realization of md5 algorithms.
    2022-10-24 21:35:03下载
    积分:1
  • 防止用DeDe软件反编译delphi程序
    防止用DeDe软件反编译delphi程序-preventing anti-software compiler delphi procedures
    2022-02-06 00:02:28下载
    积分:1
  • 本程序是免费软件,您可以重新分配和/或修改
    This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.-This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    2023-09-01 09:20:03下载
    积分:1
  • sha算法实现,经过FPGA验证的!
    sha加密算法实现,经过FPGA验证的!-sha encryption algorithm, after FPGA validation!
    2023-08-13 19:25:04下载
    积分:1
  • 工商银行 PCSC 智能卡读取程序示例
    基于 金邦达Gem USB KEY 的工商银行 PCSC 智能卡读取程序示例。自定义 APDU 命令交互,读取智能卡数据
    2022-05-19 02:50:13下载
    积分:1
  • 696518资源总数
  • 105661会员总数
  • 6今日下载