NTU-Exam 板


LINE

課程名稱︰密碼學 課程性質︰ 課程教師︰陳君明 開課學院: 開課系所︰ 考試日期(年月日)︰2009/4/14 考試時限(分鐘):180 是否需發放獎勵金:是 (如未明確表示,則不予發放) 試題 : Cryptography Midterm Exam 2009/04/14 Part I (3 points each) 1. For a group homomorphism f:(Z10, + mod 10)→(Z11, x mod 11), which assignment of the value of f(1) makes f an isomorphism? A.3 B.5 C.7 D.9 E.None of the above 2. For RSA modulus N = 4087 = 61 x 67, which can NOT be a public exponent e? A.11 B.13 C.17 D.19 E.None of the above 3. Which group is isomorphic to the Klein-4 group (Z8*,x)? A.(Z4,+) B.(Z5*,x) C.(Z10*,x) D.(Z12*,x) E.None of the above 4. Which multiplicatie group is NOT of order 12? A.Z13* B.Z21* C.Z28* D.Z36* E.None of the above 5. Which is a normal basis of GF(2^5) over GF(2) with t belongs to GF(2^5)? A.{1,t,t^2,t^3,t^4} B.{t,t^2,t^4,t^6,t^8} C.{1,t,t^2,t^4,t^8} D.{t,t^2,t^4,t^8,t^16} E.None of the above 6. Which quotient ring is isomorphic to GF(2^5)? A.GF(2)[x]/<x^5+x^2+1> B.GF(2)[x]/<x^5+x^3+x^2+1> C.GF(2)[x]/<x^5+x+1> D.GF(2)[x]/<x^5+x^3+x+1> E.None of the above 7. Which irreducible ploynomial is primitive over GF(2)? A.x^6+x^5+x^4+x^2+1 B.x^6+x^3+1 C.x^6+x^4+x^2+x+1 D.x^6+x+1 E.NOne of the above 8. A cipher E encrypts 6 hexadecimal digits in the way of E(123456) = 416235 and E(1C5A3F) = A1FC53. Which category does this cipher belong to? A.Substitution cipher B.Permutation cipher C.Vigenere cipher D.Shift cipher E.None of the above 9. Which assumption ensures the security of ELGamal encryption against chosen plaintext attacks? A.Discrete Logarithm Problem is hard B.Square Root Problem is hard C.Diffie-Hellman Problem is hard D.Factoring Problem is hard E.None of the above 10. Which is NOT proved or disproved yet about Rabin of RSA encryption schemes with mofulus n = pq, public exponent e, and private exponent d? A.Breaking Rabin encryption is equivalent to factoring n B.Breaking RSA encryption is equvalent to factoring n C.Knowing d is equivalent to facoring n D.Knowing ψ(n) is equivalent to factoring n E.None of the above Part II (3 points each) #x = <11> (mod <12>) is the solution to the system of congruences 4x = 1 (mod 7) 5x = 4 (mod 9) 6x = 9 (mod 11) #The prime numbers p = <13> and q = <14> with p>q satisfy n = pxq = 43423 and ψ(n) = 43000. #In the multiplicative group (Z33*,x): 26^(-1)(the multiplicatie inverse of 26) = <15> 0(4)(the order of 4) = <16> #GL2(Z13) is the group of inertible 2x2 matrices with entries in Z13, and SL2(Z13) is its subgroup consisting of the matrices with determinant 1. Their group orders are |GL2(Z13)| = <17> and |SL2(Z13)| = <18> #Complete the following algorithm of scalar multiplication on a given elliptic curve group. It is similar to the right-to-left square-and- multiply exponentiation. INPUT:a point P on the curve, a positive integer k = (k[t-1], ... , k1, k0)2 OUTPUT:the point kP on the curve 1.R←∞ (O:point at infinity) 2.For i from 0 to t-1 do 2.1 If ki = 1 then R←<19> 2.2 P←<20> 3.Return (R) #Consider RSA encryption with the public key n = 187 and e = 3. The private key for decryption is d = <21> The ciphertext c = <22> is obtained by encrypting the message m = 11. #Consider ELGamal encryption with the domain paramters p = 47, and g = 4 as a generator of the subgroup with order 23 of Z47*. Alice;s private key is a = 3, then her public key is (p,g,h) = (47,4,<23>) The ciphertext(c1,c2) = (37,11) is obtained from Bob, where c1 = g^k mod p and k is a random ephemeral key chosen by him. Then the corresponding plaintext is m = <24> #Break the Hill cipher with a knownn-plaintext attack. Its encryption is defined by c = pM mod 5, where M belongs to GL2(Z5), p = [p1 p2] and c = [c1 c2] are plaintext and ciphertext respectively. Two known pairs of plaintexts and ciphertestx p1 = [1 4] → c1 = [1 1] and p2 = [3 0] → c2 = [1 2] are obtained. Then M = <25> Suppose the a ciphertext c3 = [1 0] is intercepted. Then the corresponding plaintext is p3 = <26> #Consider the elliptic curve group defined by y^2 = X^3+x over F23. There are 23 points satisfying the equation as the grapg. Let P = (18,10) and Q = (19,1). The order of the elliptic curve group is <27> P-Q = <28> 3P = <29> 2009P = <30> y 22 . 21 20 . 19 18 . . . . 17 . 16 15 . 14 13 . . . 12 11 10 . . . 9 8 . 7 6 . 5 . . . . 4 3 . 2 1 . 0 . 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 x Part III (write down all details of your work) 31.(4 points) Over GF(3), suppose p(x) = x^3+2x^2+x+2 and q(x) = x^4+2x^3+2x^2+1. Write gcd(p(x),q(x)) as a monic polynomial, i.e., the leading coefficient is 1. Find polynomials f(x) and g(x) such that f(x)p(x) + g(x)q(x) = gcd(p(x),q(x)). 32.(3 points) Show that using a small public exponent for RSA may not be secure as follows. Suppose the public exponent e = 3 is taken by three users with the public moduli N1, N2 and N3. If somebody else encrypts the same message m and sends the ciphertext c1, c2, and c3 to them respectively . Explain how an attacker can obtain the plaintext m from the above ciphertext and the public information. 33.(3 points) Show that RSA is not secure against (adaptive) chosen ciphertext attacks as follows. Suppose the message m that Eve wants to break is from c = m^e (mod N). Eve creates the 'related' ciphertext c' = 2^e c and asks an oracle to decrypt c' to give m'. Express m in terms of what Eve has obtained and prove your answer. Solution: 1 2 3 4 5 6 7 8 9 10 C A D E D A D B C B 11 12 13 14 15 359 693 251 173 14 16 17 18 19 20 5 168x156(=26208) 163x13(=2184) P+R 2P 21 22 23 24 25 107 22 17 10 ┌24┐ └13┘ 26 27 28 29 30 [4 3] 24 (15,3) Point at Infinity(O, ∞) (18,13) 31 gcd = x+2, f(x) = 2x^2+2x+2, g(x) = x+1 33 m = m'/2 mod N --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.24.181







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:BabyMother站內搜尋

TOP