分享
分销 收藏 举报 申诉 / 77
播放页_导航下方通栏广告

类型密码编码学与网络安全(第五版)答案.doc

  • 上传人:丰****
  • 文档编号:4136641
  • 上传时间:2024-07-31
  • 格式:DOC
  • 页数:77
  • 大小:916.04KB
  • 下载积分:16 金币
  • 播放页_非在线预览资源立即下载上方广告
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    密码 编码 网络安全 第五 答案
    资源描述:
    Chapter 1: Introduction 5 Chapter 2: Classical Encryption Techniques 7 Chapter 3: Block Ciphers and the Date Encryption Standard 13 Chapter 4: Finite Fields 21 Chapter 5: Advanced Encryption Standard 28 Chapter 6: More on Symmetric Ciphers 33 Chapter 7: Confidentiality Using Symmetric Encryption 38 Chapter 8: Introduction to Number Theory 42 Chapter 9: Public—Key Cryptography and RSA 46 Chapter 10: Key Management; Other Public—Key Cryptosystems 55 Chapter 11: Message Authentication and Hash Functions 59 Chapter 12: Hash and MAC Algorithms 62 Chapter 13: Digital Signatures and Authentication Protocols 66 Chapter 14: Authentication Applications 71 Chapter 15: Electronic Mail Security 73 Chapter 16: IP Security 76 Chapter 17: Web Security 80 Chapter 18: Intruders 83 Chapter 19: Malicious Software 87 Chapter 20: Firewalls 89 Answers to Questions 1.1 The OSI Security Architecture is a framework that provides a systematic way of defining the requirements for security and characterizing the approaches to satisfying those requirements. The document defines security attacks, mechanisms, and services, and the relationships among these categories. 1。2 Passive attacks have to do with eavesdropping on, or monitoring, transmissions。 Electronic mail, file transfers, and client/server exchanges are examples of transmissions that can be monitored。 Active attacks include the modification of transmitted data and attempts to gain unauthorized access to computer systems。 1.3 Passive attacks: release of message contents and traffic analysis。 Active attacks: masquerade, replay, modification of messages, and denial of service. 1。4 Authentication: The assurance that the communicating entity is the one that it claims to be. Access control: The prevention of unauthorized use of a resource (i.e., this service controls who can have access to a resource, under what conditions access can occur, and what those accessing the resource are allowed to do)。 Data confidentiality: The protection of data from unauthorized disclosure。 Data integrity: The assurance that data received are exactly as sent by an authorized entity (i.e。, contain no modification, insertion, deletion, or replay)。 Nonrepudiation: Provides protection against denial by one of the entities involved in a communication of having participated in all or part of the communication。 Availability service: The property of a system or a system resource being accessible and usable upon demand by an authorized system entity, according to performance specifications for the system (i.e。, a system is available if it provides services according to the system design whenever users request them). 1.5See Table 1。3。 Answers toProblems 1.1 Release of message contents Traffic analysis Masquerade Replay Modification of messages Denial of service Peer entity authentication Y Data origin authentication Y Access control Y Confidentiality Y Traffic flow confidentiality Y Data integrity Y Y Non-repudiation Y Availability Y 1。2 Release of message contents Traffic analysis Masquerade Replay Modification of messages Denial of service Encipherment Y Digital signature Y Y Y Access control Y Y Y Y Y Data integrity Y Y Authentication exchange Y Y Y Y Traffic padding Y Routing control Y Y Y Notarization Y Y Y Chapter 2 Classical Encryption Techniquesr Answers to Questions 2.1Plaintext, encryption algorithm, secret key, ciphertext, decryption algorithm. 2。2Permutation and substitution。 2。3One key for symmetric ciphers, two keys for asymmetric ciphers。 2.4A stream cipher is one that encrypts a digital data stream one bit or one byte at a time。 A block cipher is one in which a block of plaintext is treated as a whole and used to produce a ciphertext block of equal length。 2。5Cryptanalysis and brute force。 2。6 Ciphertext only. One possible attack under these circumstances is the brute—force approach of trying all possible keys. If the key space is very large, this becomes impractical。 Thus, the opponent must rely on an analysis of the ciphertext itself, generally applying various statistical tests to it. Known plaintext. The analyst may be able to capture one or more plaintext messages as well as their encryptions。 With this knowledge, the analyst may be able to deduce the key on the basis of the way in which the known plaintext is transformed. Chosen plaintext。 If the analyst is able to choose the messages to encrypt, the analyst may deliberately pick patterns that can be expected to reveal the structure of the key. 2.7An encryption scheme is unconditionally secure if the ciphertext generated by the scheme does not contain enough information to determine uniquely the corresponding plaintext, no matter how much ciphertext is available。 An encryption scheme is said to be computationally secure if: (1) the cost of breaking the cipher exceeds the value of the encrypted information, and (2) the time required to break the cipher exceeds the useful lifetime of the information. 2。8The Caesar cipher involves replacing each letter of the alphabet with the letter standing k places further down the alphabet, for k in the range 1 through 25。 2.9A monoalphabetic substitution cipher maps a plaintext alphabet to a ciphertext alphabet, so that each letter of the plaintext alphabet maps to a single unique letter of the ciphertext alphabet. 2。10The Playfair algorithm is based on the use of a 5 ´ 5 matrix of letters constructed using a keyword. Plaintext is encrypted two letters at a time using this matrix。 2.11A polyalphabetic substitution cipher uses a separate monoalphabetic substitution cipher for each successive letter of plaintext, depending on a key. 2。12 1。 There is the practical problem of making large quantities of random keys. Any heavily used system might require millions of random characters on a regular basis. Supplying truly random characters in this volume is a significant task。 2. Even more daunting is the problem of key distribution and protection. For every message to be sent, a key of equal length is needed by both sender and receiver。 Thus, a mammoth key distribution problem exists. 2。13A transposition cipher involves a permutation of the plaintext letters。 2。14Steganography involves concealing the existence of a message。 Answers to Problems 2.1 a.No. A change in the value of b shifts the relationship between plaintext letters and ciphertext letters to the left or right uniformly, so that if the mapping is one-to-one it remains one—to-one。 b。2, 4, 6, 8, 10, 12, 13, 14, 16, 18, 20, 22, 24。 Any value of a larger than 25 is equivalent to a mod 26. c.The values of a and 26 must have no common positive integer factor other than 1. This is equivalent to saying that a and 26 are relatively prime, or that the greatest common divisor of a and 26 is 1。 To see this, first note that E(a, p) = E(a, q) (0 ≤ p ≤ q < 26) if and only if a(p – q) is divisible by 26. 1。 Suppose that a and 26 are relatively prime. Then, a(p – q) is not divisible by 26, because there is no way to reduce the fraction a/26 and (p – q) is less than 26。 2。 Suppose that a and 26 have a common factor k > 1。 Then E(a, p) = E(a, q), if q = p + m/k ≠ p. 2。2There are 12 allowable values of a (1, 3, 5, 7, 9, 11, 15, 17, 19, 21, 23, 25). There are 26 allowable values of b, from 0 through 25). Thus the total number of distinct affine Caesar ciphers is 12 ´ 26 = 312。 2。3Assume that the most frequent plaintext letter is e and the second most frequent letter is t。 Note that the numerical values are e = 4; B = 1; t = 19; U = 20。 Then we have the following equations: 1 = (4a + b) mod 26 20 = (19a + b) mod 26 Thus, 19 = 15a mod 26. By trial and error, we solve: a = 3。 Then 1 = (12 + b) mod 26。 By observation, b = 15。 2.4 A good glass in the Bishop's hostel in the Devil's seat—twenty-one degrees and thirteen minutes—northeast and by north—main branch seventh limb east side-shoot from the left eye of the death’s head— a bee line from the tree through the shot fifty feet out。 (from The Gold Bug, by Edgar Allan Poe) 2。5a。 The first letter t corresponds to A, the second letter h corresponds to B, e is C, s is D, and so on。 Second and subsequent occurrences of a letter in the key sentence are ignored. The result ciphertext: SIDKHKDM AF HCRKIABIE SHIMC KD LFEAILA plaintext: basilisk to leviathan blake is contact b。 It is a monalphabetic cipher and so easily breakable. c。 The last sentence may not contain all the letters of the alphabet. If the first sentence is used, the second and subsequent sentences may also be used until all 26 letters are encountered。 2。6 The cipher refers to the words in the page of a book。 The first entry, 534, refers to page 534。 The second entry, C2, refers to column two. The remaining numbers are words in that column。 The names DOUGLAS and BIRLSTONE are simply words that do not appear on that page。 Elementary! (from The Valley of Fear, by Sir Arthur Conan Doyle) 2.7 a。 2 8 10 7 9 6 3 1 4 5 C R Y P T O G A H I B E A T T H E T H I R D P I L L A R F R O M T H E L E F T O U T S I D E T H E L Y C E U M T H E A T R E T O N I G H T A T S E V E N I F Y O U A R E D I S T R U S T F U L B R I N G T W O F R I E N D S 4 2 8 10 5 6 3 7 1 9 N E T W O R K S C U T R F H E H F T I N B R O U Y R T U S T E A E T H G I S R E H F T E A T Y R N D I R O L T A O U G S H L L E T I N I B I T I H I U O V E U F E D M T C E S A T W T L E D M N E D L R A P T S E T E R F O ISRNG BUTLF RRAFR LIDLP FTIYO NVSEE TBEHI HTETA EYHAT TUCME HRGTA IOENT TUSRU IEADR FOETO LHMET NTEDS IFWRO HUTEL EITDS b。 The two matrices are used in reverse order。 First, the ciphertext is laid out in columns in the second matrix, taking into account the order dictated by the second memory word。 Then, the contents of the second matrix are read left to right, top to bottom and laid out in columns in the first matrix, taking into account the order dictated by the first memory word。 The plaintext is then read left to right, top to bottom。 c。 Although this is a weak method, it may have use with time-sensitive information and an adversary without immediate access to good cryptanalysis (e.g。, tactical use)。 Plus it doesn’t require anything more than paper and pencil, and can be easily remembered。 2。8SPUTNIK 2。9PT BOAT ONE OWE NINE LOST IN ACTION IN BLACKETT STRAIT TWO MILES SW MERESU COVE X CREW OF TWELVE X REQUEST ANY INFORMATION 2.10 a. L A R G E S T B C D F H I/J K M N O P Q U V W X Y Z b。 O C U R E N A B D F G H I/J K L M P Q S T V W X Y Z 2。11 a。UZTBDLGZPNNWLGTGTUEROVLDBDUHFPERHWQSRZ b。 UZTBDLGZPNNWLGTGTUEROVLDBDUHFPERHWQSRZ c。A cyclic rotation of rows and/or columns leads to equivalent substitutions。 In this case, the matrix for part a of this problem is obtained from the matrix of Problem 2.10a, by rotating the columns by one step and the rows by three steps. 2。12a。25! » 284 b.Given any 5x5 configuration, any of the four row rotations is equivalent, for a total of five equivalent configurations。 For each of these five configurations, any of the four column rotations is equivalent. So each configuration in fact represents 25 equivalent configurations. Thus, the total number of unique keys is 25!/25 = 24! 2.13A mixed Caesar cipher. The amount of shift is determined by the keyword, which determines the placement of letters in the matrix。 2。14 a。Difficulties are things that show what men are。 b。Irrationally held truths may be more harmful than reasoned errors. 2。15 a。We need an even number of letters, so append a ”q” to the end of the message。 Then convert the letters into the corresponding alphabetic positions: M e e t m e a t t h e u s u a l 13 5 5 20 13 5 1 20 20 8 5 21 19 21 1 12 P l a c e a t t e n r a t h e r 16 12 1 3 5 1 20 20 5 14 18 1 20 8 5 18 T h a n e i g h t o c l o c k q 20 8 1 14 5 9 7 8 20 15 3 12 15 3 11 17 The calculations proceed two letters at a time。 The first pair: The first two ciphertext characters are alphabetic positions 7 and 22, which correspond to GV。 The complete ciphertext: GVUIGVKODZYPUHEKJHUZWFZFWSJSDZMUDZMYCJQMFWWUQRKR b。We first perform a matrix inversion。 Note that the determinate of the encryption matrix is (9 ´ 7) – (4 ´ 5) = 43。 Using the matrix inversion formula from the book: Here we used the fact that (43)–1 = 23 in Z26。 Once the inverse matrix has been determined, decryption can proceed。 Source: [LEWA00]。 2。16 Consider the matrix K with elements kij to consist of the set of column vectors Kj, where: and The ciphertext of the following chosen plaintext n-grams reveals the columns of K: (B, A, A, …, A, A) « K1 (A, B, A, …, A, A) « K2 : (A, A, A, …, A, B) « Kn 2.17 a。 7 ´ 134 b. 7 ´ 134 c. 134 d。 10 ´ 134 e。 24´ 132 f. 24´ (132– 1) ´ 13 g。 37648 h。 23530 i。 157248 2。18key:legleglegle plaintext:explanation ciphertext:PBVWETLXOZR 2。19 a。 s e n d m o r e m o n e y 18 4 13 3 12 14 17 4 12 14 13 4 24 9 0 1 7 23 15 21 14 11 11 2 8 9 1 4 14 10 9 3 12 18 23 25 15 12 7 B E C K J D M S X Z P M H b。 c a s h n o t n e e d e d 2 0 18 7 13 14 19 13 4 4 3 4 3 25 4 22 3 22 15 19 5 19 21 12 8 4 1 4 14 10 9 3 12 18 23 25 15 12 7 B E C K J D M S X Z P M H 2。20 your package ready Friday 21st room three Please destroy this immediately. 2.21 a. Lay the message out in a matrix 8 letters across。 Each integer in the key tells you which letter to choose in the corresponding row. Result: He sitteth between the cherubims. The isles may be glad thereof。 As the rivers in the south。 b. Quite secure。 In each row there is one of eight possibilities。 So if the ciphertext is 8n letters in length, then the number of possible plaintexts is 8n. c。 Not very secure。 Lord Peter figured it out。 (from The Nine Tailors) Chapter 3 Block Ciphers and the Data Encryption Standard Answers to Questions 3.1Most symmetric block encryption algorithms in current use are based on the Feistel block cipher structure。 Therefore, a study of the Feistel structure reveals the principles behind these more recent ciphers. 3。2A stream cipher is one that encrypts a digital data stream one bit or one byte at a time。 A block cipher is one in which a block of plaintext is treated as a whole and used to produce a ciphertext block of equal length. 3。3If a small block size,
    展开阅读全文
    提示  咨信网温馨提示:
    1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
    2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
    3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
    4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
    5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
    6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

    开通VIP折扣优惠下载文档

    自信AI创作助手
    关于本文
    本文标题:密码编码学与网络安全(第五版)答案.doc
    链接地址:https://www.zixin.com.cn/doc/4136641.html
    页脚通栏广告

    Copyright ©2010-2026   All Rights Reserved  宁波自信网络信息技术有限公司 版权所有   |  客服电话:0574-28810668    微信客服:咨信网客服    投诉电话:18658249818   

    违法和不良信息举报邮箱:help@zixin.com.cn    文档合作和网站合作邮箱:fuwu@zixin.com.cn    意见反馈和侵权处理邮箱:1219186828@qq.com   | 证照中心

    12321jubao.png12321网络举报中心 电话:010-12321  jubao.png中国互联网举报中心 电话:12377   gongan.png浙公网安备33021202000488号  icp.png浙ICP备2021020529号-1 浙B2-20240490   


    关注我们 :微信公众号  抖音  微博  LOFTER               

    自信网络  |  ZixinNetwork