密码编码学与网络安全第四版第二章答案翻译

上传人:枫** 文档编号:473223443 上传时间:2023-12-14 格式:DOC 页数:9 大小:145.50KB
返回 下载 相关 举报
密码编码学与网络安全第四版第二章答案翻译_第1页
第1页 / 共9页
密码编码学与网络安全第四版第二章答案翻译_第2页
第2页 / 共9页
密码编码学与网络安全第四版第二章答案翻译_第3页
第3页 / 共9页
密码编码学与网络安全第四版第二章答案翻译_第4页
第4页 / 共9页
密码编码学与网络安全第四版第二章答案翻译_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《密码编码学与网络安全第四版第二章答案翻译》由会员分享,可在线阅读,更多相关《密码编码学与网络安全第四版第二章答案翻译(9页珍藏版)》请在金锄头文库上搜索。

1、第二章2.1什么是对称密码的本质成分?Plaintext, encryption algorithm, secret key, ciphertext, decryption algorithm.明文 加密算法 密钥 密文 解密算法2.2 密码算法中两个基本函数式什么?Permutation and substitution.代换和置换P202.3用密码进行通信的两个人需要多少密钥?对称密码只需要一把,非对称密码要两把P202.4 分组密码和流密码的区别是什么?A stream cipher is one that encrypts a digital data stream one bit o

2、r 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.分组密码每次输入的一组元素,相应地输出一组元素。流密码则是连续地处理输入元素,每次输出一个元素。P202.5攻击密码的两种一般方法是什么?Cryptanalysis and brute force.密码分析和暴力破解2.6列出并简要定力基于攻击者所知道信息的密码分析攻击类型。Ciphertext

3、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 plaint

4、ext.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 en

5、crypt, the analyst may deliberately pick patterns that can be expected to reveal the structure of the key.惟密文已知明文选择明文2.7无条件安全密码和计算上安全密码的区别是什么?An encryption scheme is unconditionally secure if the ciphertext generated by the scheme does not contain enough information to determine uniquely the corresp

6、onding 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

7、.书本P21The 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.书本P22A monoalphabetic substitution cipher maps a plaintext alphabet to a ciphertext alphabet, so that each letter of the plaintext alpha

8、bet maps to a single unique letter of the ciphertext alphabet.书本P23The Playfair algorithm is based on the use of a 55 matrix of letters constructed using a keyword. Plaintext is encrypted two letters at a time using this matrix.书本P262.11单表代换密码和夺标代换密码的区别是什么?A polyalphabetic substitution cipher uses a

9、 separate monoalphabetic substitution cipher for each successive letter of plaintext, depending on a key.书本P302.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. Supplyin

10、g 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.书本P332.13什么是置换密码?A transp

11、osition cipher involves a permutation of the plaintext letters. 书本P332.14什么是隐写术?Steganography involves concealing the existence of a message.书本P36a.对b的取值是否有限制?解释原因。没有限制,b只会使得明文加密后的密文字母统一左移或右移,因此如果是单射的,b改变后依然是单射。注:答案解答得很坑爹,答了等于没答。现解答如下:b.判定a不能取哪些值。 2, 4, 6, 8, 10, 12, 13, 14, 16, 18, 20, 22, 24. 当a大于

12、25时,a也不能是使得a mod 26为这些数的值。c.分析a可以取那些值,不可以取那些值。并给出理由。a与26必须没有大于1的公因子。也就是说a与26互素,或者最大公约数为1.为了说明为什么是这样,先注意到要使E(a, p) = E(a, q) (0 p q 1.则当q = p + m/k p时,p q= -m/k,显然26能整除a(p q),从而E(a, p) = E(a, q).2.2有多少种仿射Caesar密码?a有12种可能的值(2, 4, 6, 8, 10, 12, 13, 14, 16, 18, 20, 22, 24),b有26种可能的值(0到25),因此总共有12 26 = 3

13、12种仿射Caesar密码。2.3用仿射Caesar密码加密得到一份密文。频率最高的字母为B,次高的字母为U,请破译该密码。假设明文中频率最高的字母为e,次高的字母为t。注意e=4(e排在第4,a排在第0,没有第26),B=1,t=19,U=20;因此可以得到: 1 = (4a + b) mod 2620 = (19a + b) mod 26下式减上式可得19 = 15a mod 26,通过反复的错误实验,可得a = 3然后代入第一条式子可得1 = (12 + b) mod 26,然后得出b = 15 A good glass in the Bishops hostel in the Devi

14、ls seattwenty-one degrees and thirteen minutesnortheast and by northmain branch seventh limb east sideshoot from the left eye of the deaths head a bee line from the tree through the shot fifty feet out. (from The Gold Bug, by Edgar Allan Poe)2.5a.第一个字母t对应A,第二个字母h对应B,e对应C,s对应D,依此类推。随后在句子中重复出现的字母则忽略。结

15、果是密文: SIDKHKDM AF HCRKIABIE SHIMC KD LFEAILA明文: basilisk to leviathan blake is contactb.这是一个单表密码,因此容易被破译c.最后一句可能不会包含字母表中的所有字母。如果用第一句的话,随后的句子可以继续填补第一句字母的不全。2.6The 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 th

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 习题/试题

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号