网站大量收购独家精品文档,联系QQ:2885784924

第3章对称密码体制精要.ppt

  1. 1、本文档共134页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第3章对称密码体制精要

Key Distribution 密钥分配 Key Distribution:the means of delivering a key to two parties who wish to exchange data, without allowing others to see the key. For two parties A and B, key distribution can be achieved in a number of ways, as follows: A can select a key and physically deliver it to B. A third party can select the key and physically deliver it to A and B. If A and B have previously and recently used a key, one party can transmit the new key to the other, encrypted using the old key. If A and B each has an encrypted connection to a third party C, C can deliver a key on the encrypted links to A and B. key distribution center KDC A key distribution center is responsible for distributing keys to pairs of users (hosts, processes, applications) as needed. Each user must share a unique key with the key distribution center for purposes of key distribution. Two levels of keys Communication between end systems is encrypted using a temporary key, often referred to as a session key(会话密钥). The session key is used for the duration of a logical connection,and then discarded. Each session key is obtained from the key distribution center over the same networking facilities. session keys are transmitted in encrypted form, using a master key(主密钥) that is shared by the key distribution center and an end system or user. Information Theoretic Security (Shannon 1949) Lemma: OTP has perfect secrecy. Proof: None 1 2 Lemma: OTP has perfect secrecy. Proof: The bad news … Stream Ciphers: making OTP practical idea: replace “random” key by “pseudorandom” key Stream Ciphers: making OTP practical 流密码的密钥流 流密码的关键就是产生密钥流的算法,该算法必须能够产生可变长的、随机的、不可预测的密钥流。 保持通信双方的精确同步是流密码实际应用中的关键技术。由于通信双方必须能够产生相同的密钥流,所以这种密钥流不可能是真随机序列,只能是伪随机流。 明文流 密文流 密钥流 流密码的结构 典型的流密码每次加密一位或一个字节明文。 将初始密钥(种子)输入到发生器,输出一个随机数(密钥)。 伪随机字节 发生器 (密钥流发生器) 明文 字节流 M 密文 字节流 C 密钥K k 异或加密 伪随机字节 发生器 (密钥流发生器) 密钥K k 异或解密 明文 字节流 M 明文 密钥流 密文 密文 密钥流 明文 设计流密码需要考

文档评论(0)

shuwkb + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档