上海交大网络安全第二次作业_网络安全第二次作业
上海交大网络安全第二次作业由刀豆文库小编整理,希望给你工作、学习、生活带来方便,猜你可能喜欢“网络安全第二次作业”。
Aign 2p-q +1 Probability =(Zn- Zn* )/Zn =(p+q-2)/(n-1)9.In the description of poible defense against Man-in-the-Middle Attack [Kaufman §6.4.2, 3], it stated that encrypting the Diffie-Hellman value with the other sides’s public key shall prevent the attack.Why is this case aumption that an attacker can encrypt whatever it wants with the other sides’ public key? *Kaufman §6.2+
(10 points)
在描述defense against Man-in-the-Middle Attack这种可能性时,它说用另外种方面的普通密码加密这个Diffie-Hellman值可以预防这方面的攻击。为什么一个攻击可以用另一方面的普通密码加密任何它想要的呢? 答:普通密码加密这个Diffie-Hellman值,可以得知该文件的加密密码方式,从而找出规律。对其进行解密。所以才有此说法
10.In modular arithmetic, why must the operand x be relatively prime with the modulus n in order for x to have a unique multiplicative inverse?
(10 points)在模运算中,为什么一定要把操作数x设置成模数的相关初始值,是为了让x有一个唯一的乘法倒数吗? 答:并非如此。