P5
中文依然是屑翻译,按英文版做
a) There are 8 tables. Each table has 28 entries. Each
entry has 8 bits.
number of tables * size of each table * size
of each entry = 828 8= 214 bits
b) There are 264 entries. Each entry has 64 bits. 271
bits
P6
a) 011011011
b) 该密文对应的明文由三个相同bit组成
c)
c(i) = KS(m(i) XOR c(i-1))
c(1) =KS(100 XOR 111) = KS (011) = 100
c(2) =KS(100 XOR 100) = KS (000) = 110
c(1) =KS(100 XOR 110) = KS (010) = 101
P7
a) We are given p=3 and q=11
We thus have n=33 and q=11
Choose e=9 (it might be a good idea to give students a hint that 9 is a good value to choose, since the resulting calculations are less likely to run into numerical stability problems than other choices for e) since 3 and (p-1)(q-1)=20 h