博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
《计算机网络 自顶向下方法》(第7版)答案(第八章)(一)
阅读量:4170 次
发布时间:2019-05-26

本文共 1385 字,大约阅读时间需要 4 分钟。

P1

usai si my cmiw lokngch

wasn’t that fun

P2

If Trudy knew that the words “bob” and “alice”

appeared in the text, then she would know the ciphertext for b,o,a,l,i,c,e
(since “bob” is the only palindrome in the message, and “alice” is the only
5-letter word. If Trudy knows the
ciphertext for 7 of the letters, then she only needs to try 19!, rather than
26!, plaintext-ciphertext pairs. The
difference between 19! and 26! is 262524…*20, which is 3315312000, or
approximately 109.

P3

能破凯撒加密,但不能破多码代替密码

Every letter in the alphabet appears in the phrase
“The quick fox jumps over the lazy brown dog.”
Given this phrase in a chosen plaintext attack (where the attacker has
both the plain text, and the ciphertext), the Caesar cipher would be broken -
the intruder would know the ciphertext character for every plaintext
character. However, the Vigenere cipher
does not alway translate a given plaintext character to the same ciphertext
character each time, and hence a Vigenere cipher would not be immediately
broken by this chosen plaintext attack.

P4

a) The output is equal to 00000101 repeated eight

times.

b) The output is equal to 00000101 repeated seven times+ 10000101.

c) We have (ARBRCR)R = CBA, where A, B, C are

strings, and R means inverse operation. Thus:

  1. For (a), the output is 10100000 repeated eight times;
  2. For (b), the output is 10100001 + 10100000 repeated seven times.

转载地址:http://fkwai.baihongyu.com/

你可能感兴趣的文章
leetcode 78 Subsets
查看>>
leetcode 90 Subsets II
查看>>
leetcode 91 Decode Ways
查看>>
leetcode 89 Gray Code
查看>>
leetcode 88 Merge Sorted Array
查看>>
leetcode 87 Scramble String(递归+剪枝)
查看>>
win10系统下“python不是内部或外部命令”的解决方法
查看>>
Python的优缺点
查看>>
python中如何区分常量和变量
查看>>
python导入模块的4种方法
查看>>
linux more命令简单使用
查看>>
vi 编辑器超级简单且实用的命令
查看>>
python多行注释和跨行字符串
查看>>
linux终端输出彩色字体
查看>>
一个程序学会python的流程控制
查看>>
python中sys.exit() os._exit() exit() quit()的简单使用
查看>>
linux rm -f rm -rf 命令:删除文件和文件夹
查看>>
ubuntu-14.04.3下安装VMware Tools(虚拟机与主机之间直接复制粘贴)
查看>>
python编写登录接口
查看>>
python字符串处理常用方法
查看>>