NTU-Exam 板


LINE

課程名稱︰密碼學 課程性質︰ 課程教師︰陳君明 開課學院: 開課系所︰數學系 考試日期(年月日)︰2010/04/27c 考試時限(分鐘):180 是否需發放獎勵金:是 (如未明確表示,則不予發放) 試題 : Part I (3 points each) 1. α belongs to GF8 is a root of x^3+x^2+1. Whose minimal polynomial is x^3+x+1? A.α^2 B.α^4 C.α^4+α^2 D.α^4+α^3 E.None of the above 2. Which is NOT a finalist of the AES selection? A.MARS B.Rijndael C.Twofish D.IDEA E.None of the above 3. Which irreducible polynomial over GF5 is primitive? A.x^2+2 B.x^2+x+1 C.x^2+2x+3 D.x^2+4x+1 E.None of the above 4. In the "Mix Columns" operation of AES, each column is treated as a polynomial over GF256 and is multiplied modulo r(x) with fixed 3x^3+x^2+x+2. What is r(x)? A.x^4 B.x^4+1 C.x^4+x+1 D.x^4+x^2+1 E.None of the above 5. Which statement about the one-time pad(OTP) is FALSE? A.XOR operation is often used to combine the plaintext and the key elements B.It is information-theoretically secure with the so-called perfect secrecy C.To be unbreakable, its key has to be truly random and never reused D.Such system with the perfect secrecy property is widely used in practice E.None of the above 6. For a group homomorphism f:(Z16, + mod 16)→(Z17*, ×mod 17), which assignment of the value of f(1) makes f an isomorphism? A.2 B.4 C.6 D.8 E.None of the above 7. Which ideal is NOT a principal ideal in the specified ring? A.<x,y> in Z[x,y] B.<x^2-1> in Q[x,y] C.<6,15,33> in Z D.<x+1,x^2> in Q[x] E. None of the above 8. Which quotient ring is isomorphic to GF64? A.GF2[x]/<x^6+x^5+x^4+x^3+x^2+x+1> B.GF2[x]/<x^6+x^4+x^3+x^2+1> C.GF2[x]/<x^6+x^2+1> D.GF2[x]/<x^6+x^4+x^3+1> E.None of the above 9. Which multiplicative group is NOT of order 36? A.Z37* B.Z63* C.Z108* D.Z126* E.None of the above 10.Which mode of operation for decryption does the diagram below show? A.OFB B.CFB C.ECB D.CBC E.None of the above initialization Vector(IV) ↓ ┌───────┐ Block Cipher │ ↓ Key→ Encryption │ Block Cipher ↓───────┘ Key→ Encryption Ciphertext→+ ↓ ↓ Ciphertext→+ Plaintext ↓ Plaintext Part II (3 points each) In the multiplicative group(Z65*,×): 17^-1(the multiplicative inverse of 17)= [11] o(3)(the order of 3)=[12] Complete the table: Block Cipher Block size(bits) Key size(bits) Triple-DES 64 112 of [13] IDEA 64 128 AES 128 128,192, or [14] SMS4 [15] 128 To prove that x is a primitive element in Z63, it is sufficient to show x^m!=1 and x^n!=1 where 0<m<n. We have (m,n)=([16],[17]). Since P(x)=x^5+2x+2 is reducible over F3, the quotient ring K=F3[x]/(P(x)) is a finite field. Let Q(x)=x^2+2x+1. The number of elements in K is |K|=[18]. Q(x)^1213 = [19] in K. Q(x)^-1 = [20] in K. x=[21](mod [22]) is the solution to the system of congruences 2x=1(mod 3) x=3(mod 10) 5x=4(mod 67) GL3(Z7) is the group of invertible 3 ×3 matrices with entries in Z7, and SL3(Z7) is its subgroup consisting of the matrices with diterminant1. Their group orders are |GL3(Z7)|=[23] and |SL3(Z7)|=[24]. Consider the affine cipher c=mp+s mod 50, where c and p denote the ciphertext and the plaintext respectively: The size of its key space(possibilities of (m,s)) is [25]. Given the encryption formula c=7p+11 mod 50, the corresponding decryption formula is p=[26] mod 50. The S-box of AES is constructed as follows. a[i,j]→a[i,j]^-1→b[i,j] a[i,j]×a[i,j]^-1=1(mod x^8+x^4+x^3+x+1) but 0^-1=0 Affine transformation:a[i,j]^-1→b[i,j] Finish the mappings: 00000000→00000000→01100011 00000001→00000001→01111100 00000011→ [27] → [28] b[i,j] a[i,j] ┌ ┐ ┌ ┐┌ ┐ ┌ ┐ │y0│ │1 0 0 0 1 1 1 1││x0│ │1│ │y1│ │1 1 0 0 0 1 1 1││x1│ │1│ │y2│ │1 1 1 0 0 0 1 1││x2│ │0│ │y3│=│1 1 1 1 0 0 0 1││x3│+│0│ │y4│ │1 1 1 1 1 0 0 0││x4│ │0│ │y5│ │0 1 1 1 1 1 0 0││x5│ │1│ │y6│ │0 0 1 1 1 1 1 0││x6│ │1│ │y7│ │0 0 0 1 1 1 1 1││x7│ │0│ └ ┘ └ ┘└ ┘ └ ┘ Applying the secret the permutation (123456) belongs to S6 on the plaintext (346215) CRYPTO, we obtain the ciphertext TPCROY. Suppose the permutation σ belongs to S6 is applied on CRYPTO to obtain POCTYR, then σ^2=[29] and σ^-1=[30] Part III (Write down all details of your work) [31](4 points)Find integers a and b such that 31a+53b=1. [32](6 points)Explain why a block cipher of Feistel structure has the same algorithm for both encryption and decryption. --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.117.65.208
1F:→ t0444564 :真拼命= = 04/28 00:13







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燈, 水草

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

TOP