03-分组密码与DES详解.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* * 小结 分组密码与流密码 block vs stream ciphers Feistel 密码设计与结构 design structure 轮数,函数F,密钥扩展 DES 算法细节 密码强度 工作模式 * * 第三章作业 思考题:3.5,3.7,3.8 * Lecture slides by Panfeng for “Cryptography and Network Security”, 3/e, by William Stallings * The exact realization of a Feistel network depends on the choice of the following parameters and design features: block size - increasing size improves security, but slows cipher key size - increasing size improves security, makes exhaustive key searching harder, but may slow cipher number of rounds - increasing number improves security, but slows cipher subkey generation algorithm - greater complexity can make analysis harder, but slows cipher round function - greater complexity can make analysis harder, but slows cipher fast software en/decryption - more recent concern for practical use ease of analysis - for easier validation testing of strength * Stallings Figure 6.3 illustrates the Electronic Codebook (ECB) Mode. * Stallings Figure 6.4 illustrates the Cipher Block Chaining (CBC) Mode. * Stallings Figure 6.5 illustrates the Cipher FeedBack (CFB) Mode. * Stallings Figure 6.6 illustrates the Output FeedBack (OFB) Mode. * Stallings Figure 6.7 illustrates the Counter (CTR) Mode. * Chapter 3 summary. * * P置换 * * 直接P置换(P-盒) P置换 * * F函数 * * DES第i轮迭代加密 * * * * 子密钥产生器 密钥(64 bit ) 置换选择1,PC1 置换选择2,PC2 Ci(28 bit) Di(28 bit) 循环左移 循环左移 除去第8,16, ?,64位(8个校验位) ki * * * * 置换选择1 循环左移的次数 (舍弃了奇偶校验位,即第8,16,…,64位) * * 压缩置换2 舍弃了第9,18,22,25,35,38,43,54比特位 * * 加密过程: L0R0 ?IP (64 bit明文) Li?Ri-1 i=1,...,16 (1) Ri?Li-1?f(Ri-1, ki) i=1,...,16 (2) 64 bit密文 ? IP-1(R16L16) (1)(2)运算进行16次后就得到密文组。 解密过程: R16L16 ?IP(64 bit密文) Ri-1?Li i=1,...,16 (3) Li-1?Ri?f(Li-1, ki) i=1,...,16 (4) 64 bit明文?IP-1 (R0L0) (3)(4)运算进行16次后就得到明文组。 DES加解密的数学表达 * * 安全性 DES的安全性完全依赖于所用的密钥。 从DES诞生起,对它的安全性就有激烈的争论,一直延续到现在 弱密钥和半弱密钥 DES算法在每次迭代时都有一个子密钥供加密用。如果给定初始密钥k,各轮的子密钥都相同,即有

文档评论(0)

三沙市的姑娘 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档