Chapter 2 (B) Block Ciphers and Data Encryption Standard.ppt
《Chapter 2 (B) Block Ciphers and Data Encryption Standard.ppt》由会员分享,可在线阅读,更多相关《Chapter 2 (B) Block Ciphers and Data Encryption Standard.ppt(36页珍藏版)》请在麦多课文档分享上搜索。
1、Chapter 2 (B) Block Ciphers and Data Encryption Standard,Modern Block Ciphers,will now look at modern block ciphers one of the most widely used types of cryptographic algorithms provide secrecy and/or authentication services in particular will introduce DES (Data Encryption Standard),Block vs Stream
2、 Ciphers,block ciphers process messages into blocks, each of which is then en/decrypted like a substitution on very big characters 64-bits or more stream ciphers process messages a bit or byte at a time when en/decrypting many current ciphers are block ciphers,Block Cipher Principles,most symmetric
3、block ciphers are based on a Feistel Cipher Structure (discussed later) needed since must be able to decrypt ciphertext to recover messages efficiently block ciphers look like an extremely large substitution would need table of 264 entries for a 64-bit block instead create from smaller building bloc
4、ks using idea of a product cipher,Claude Shannon and Substitution-Permutation Ciphers,in 1949 Claude Shannon introduced idea of substitution-permutation (S-P) networks modern substitution-transposition product cipher these form the basis of modern block ciphers S-P networks are based on the two prim
5、itive cryptographic operations we have seen before: substitution (S-box) permutation (P-box) provide confusion and diffusion of message,Confusion and Diffusion,cipher needs to completely obscure statistical properties of original message a one-time pad does this more practically Shannon suggested co
6、mbining elements to obtain: diffusion dissipates statistical structure of plaintext over bulk of ciphertext confusion makes relationship between ciphertext and key as complex as possible,Feistel Cipher Structure,Horst Feistel devised the feistel cipher based on concept of invertible product cipher p
7、artitions input block into two halves process through multiple rounds which perform a substitution on left data half based on round function of right half & subkey then have permutation swapping halves implements Shannons substitution-permutation network concept,Feistel Cipher Structure,Feistel Ciph
8、er Design Principles,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 greater complexity can m
9、ake analysis harder, but slows cipher round function greater complexity can make analysis harder, but slows cipher fast software en/decryption & ease of analysis are more recent concerns for practical use and testing,Feistel Cipher Decryption,Data Encryption Standard (DES),most widely used block cip
10、her in world adopted in 1977 by NBS (now NIST) as FIPS PUB 46 encrypts 64-bit data using 56-bit key has widespread use has seen considerable controversy over its security,DES History,IBM developed Lucifer cipher by team led by Feistel used 64-bit data blocks with 128-bit key then redeveloped as a co
11、mmercial cipher with input from NSA and others in 1973 NBS issued request for proposals for a national cipher standard IBM submitted their revised Lucifer which was eventually accepted as the DES,DES Design Controversy,although DES standard is public had considerable controversy over design in choic
12、e of 56-bit key (vs Lucifer 128-bit) and because design criteria were classified subsequent events and public analysis show in fact design was appropriate DES has become widely used, especially in financial applications,DES Encryption,DES Round Structure,DES Key Schedule,forms subkeys used in each r
13、ound consists of: initial permutation of the key (PC1) which selects 56-bits in two 28-bit halves 16 stages consisting of: selecting 24-bits from each half permuting them by PC2 for use in function f, rotating each half separately either 1 or 2 places depending on the key rotation schedule K,DES Dec
14、ryption,decrypt must unwind steps of data computation with Feistel design, do encryption steps again using subkeys in reverse order (SK16 SK1) note that IP undoes final FP step of encryption 1st round with SK16 undoes 16th encrypt round . 16th round with SK1 undoes 1st encrypt round then final FP un
15、does initial encryption IP thus recovering original data value,Avalanche Effect,key desirable property of encryption alg where a change of one input or key bit results in changing approx half output bits making attempts to “home-in” by guessing keys impossible DES exhibits strong avalanche,Strength
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CHAPTER2BBLOCKCIPHERSANDDATAENCRYPTIONSTANDARDPPT

链接地址:http://www.mydoc123.com/p-379637.html