{"id":431132,"date":"2018-03-21T22:02:27","date_gmt":"2018-03-21T22:02:27","guid":{"rendered":"https:\/\/essaypaper.org\/computer-science-security-in-computing-encryption-encoding\/"},"modified":"2018-10-24T09:09:21","modified_gmt":"2018-10-24T09:09:21","slug":"computer-science-security-in-computing-encryption-encoding","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/computer-science-security-in-computing-encryption-encoding\/","title":{"rendered":"Computer Science Security in Computing Encryption &amp; Encoding"},"content":{"rendered":"\n<div itemprop=\"text\">\n<p>v:* {behavior:url(#default#VML);}<br \/>o:* {behavior:url(#default#VML);}<br \/>w:* {behavior:url(#default#VML);}<br \/>.shape {behavior:url(#default#VML);}<\/p>\n<p>  800\u00d7600<\/p>\n<p>  Normal<br \/>0<br \/>false<\/p>\n<p>  false<br \/>false<br \/>false<\/p>\n<p>  EN-US<br \/>X-NONE<br \/>X-NONE<\/p>\n<p>  MicrosoftInternetExplorer4<\/p>\n<p> \/* Style Definitions *\/<br \/>table.MsoNormalTable<br \/>{mso-style-name:\u201dTable Normal\u201d;<br \/>mso-tstyle-rowband-size:0;<br \/>mso-tstyle-colband-size:0;<br \/>mso-style-noshow:yes;<br \/>mso-style-priority:99;<br \/>mso-style-parent:\u201d\u201d;<br \/>mso-padding-alt:0cm 5.4pt 0cm 5.4pt;<br \/>mso-para-margin:0cm;<br \/>mso-para-margin-bottom:.0001pt;<br \/>mso-pagination:widow-orphan;<br \/>font-size:10.0pt;<br \/>font-family:\u201dTimes New Roman\u201d,serif;}<\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\"><span style=\"text-decoration: none\">\u00a0<\/span><\/span><\/u><\/strong><\/p>\n<p class=\"MsoNormal\" style=\"text-align: center\" align=\"center\"><strong><u><span lang=\"EN-AU\">Assignment #1<\/span><\/u><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\"><span style=\"text-decoration: none\">\u00a0<\/span><\/span><\/u><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">Q1<\/span><\/u><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">(a)<\/span><\/u><\/strong><span lang=\"EN-AU\"> Decrypt the ciphertext <\/span><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: center\" align=\"center\"><strong><span lang=\"EN-AU\">IAUTMOCSMNIMREBOTNELSTRHEREOAEVMWIH<\/span><\/strong><\/p>\n<h3><span lang=\"EN-AU\">TSEEATMAEOHWHSYCEELTTEOHMUOUFEHTRFT<\/span><\/h3>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: justify\"><span lang=\"EN-AU\">This message was encrypted with a double transposition (of the type<span>\u00a0 <\/span>discussed in the lecture and tute) using a matrix of 7 rows and 10 columns. <em>Hint:<\/em><span>\u00a0 <\/span>The first word is \u201cthere.\u201d<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 1.5)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><span lang=\"EN-AU\">\u00a0<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">(b)<\/span><\/u><\/strong> <span class=\"fontstyle01\"><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">Find the plaintext and the key, given the cipher-text<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-left: 72.0pt\"><span lang=\"EN-AU\" style=\"color: black\"><br \/><\/span><span class=\"fontstyle01\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">CSYEVIXIVQMREXIH.<\/span><\/strong><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 1)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><span lang=\"EN-AU\">\u00a0<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">(c)<\/span><\/u><\/strong> <span class=\"fontstyle01\"><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">Decrypt the following message that was encrypted using a simple substitution cipher:<\/span><\/span><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">GBSXUCGSZQGKGSQPKQKGLSKASPCGBGBKGUKGCEUKUZKGGBSQEICA<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">CGKGCEUERWKLKUPKQQGCIICUAEUVSHqKGCEUPCGBCGQOEVSHUNSU<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">GKUZCGQSNLSHEHIEEDCUOGEPKHZGBSNKCUGSUKUASERLSKASCUGB<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">SLKACRCACUZSSZEUSBEXHKRGSHWKLKUSQSKCHQTXKZHEUQBKZAEN<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">NSUASZFENFCUOCUEKBXGBSWKLKUSQSKNFKQQKZEHGEGBSXUCGSZQ<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">GKGSQKUZBCQAEIISKOXSZSICVSHSZGEGBSQSAHSGKHMERQGKGSKR<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">EHNKIHSLIMGEKHSASUGKNSHCAKUNSQQKOSPBCISGBCqHSLIMQGKG<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">SZGBKGCGQSSNSZXQSISQQGEAEUGCUXSGBSSJCqGCUOZCLIENKGCA<\/span><\/strong><\/span><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt;color: black\"><br \/><\/span><\/strong><span class=\"fontstyle21\"><strong><span lang=\"EN-AU\" style=\"font-size: 10.0pt\">USOEGCKGCEUqCGAEUGKCUSZUEGBHSKGEHBCUGERPKHEHKHNSZKGGKAD<\/span><\/strong><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 2)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">Q2 <\/span><\/u><\/strong><span lang=\"EN-AU\">Using the letter encodings in Table I, the following two cipher-text messages were encrypted with the same one-time pad: <\/span><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: center\" align=\"center\"><strong><span lang=\"EN-AU\">KHHLTK<\/span><\/strong><span lang=\"EN-AU\"> and <strong>KTHLLE<\/strong><\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: center\" align=\"center\"><strong><span lang=\"EN-AU\">\u00a0<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">Find all possible plaintexts for each message and the corresponding one-time pad.<\/span><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<h2><span lang=\"EN-AU\">Table I Abbreviated Alphabet<\/span><\/h2>\n<p><!-- [if !vml]--><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/\/\/Users\/admin\/Library\/Group%20Containers\/UBF8T346G9.Office\/TemporaryItems\/msohtmlclip\/clip_image002.jpg\" width=\"360\" height=\"52\"\/><!--[endif]--><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 3)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\">Q3<span>\u00a0 <\/span><\/span><\/u><\/strong><em><span lang=\"EN-AU\" style=\"font-size: 18.0pt;font-family: 'Arial',sans-serif;color: #c0504d\"><span>\u00a0<\/span><\/span><\/em><span lang=\"EN-AU\">Bob is a receiver and Alice is a sender. Bob generates public and private keys using RSA encryption algorithm and sends the public key to Alice. Alice has a message <strong><em><span style=\"color: red\">M<\/span><\/em><span style=\"color: red\">=8596<\/span><\/strong> to send.<span>\u00a0 <\/span>Bob uses parameter <strong><em><span style=\"color: red\">p<\/span><\/em><span style=\"color: red\">=89<\/span><\/strong> and <strong><em><span style=\"color: red\">q<\/span><\/em><span style=\"color: red\">=191<\/span><\/strong>, and chooses a small public key parameter <strong><em><span style=\"color: red\">e<\/span><\/em>.<span>\u00a0 <\/span><\/strong>What are the values of suitable public and private keys<strong>?<span>\u00a0 <\/span><\/strong>How would Alice encrypt message <strong><em><span style=\"color: red\">M<\/span><\/em><span style=\"color: red\">=8596<\/span><\/strong>? How would Bob decrypt the encrypted message <strong><em><span style=\"color: red\">C<\/span><\/em><\/strong> with the private key?<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 2.5)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><strong><span lang=\"EN-AU\">Q4 <\/span><\/strong><span lang=\"EN-AU\">Alice has a message <strong><em><span style=\"color: red\">M<\/span><\/em><span style=\"color: red\">=37<\/span><\/strong> to send to Bob securely using ElGamal encryption algorithm. Bob chooses <strong><em><span style=\"color: red\">p<\/span><\/em><span style=\"color: red\">=8081<\/span><\/strong><em>, <strong><span style=\"color: red\">g<\/span><\/strong><\/em><strong><span style=\"color: red\">=2849<\/span><\/strong><em>, <strong><span style=\"color: red\">x<\/span><\/strong><\/em><strong><span style=\"color: red\">=53<\/span><\/strong>. Alice chooses <strong><em><span style=\"color: red\">r<\/span><\/em><span style=\"color: red\">=78<\/span><\/strong>. Show the encryption and decryption steps.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 2.5)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-AU\">\u00a0<\/span><\/p>\n<p class=\"MsoNormal\"><strong><span lang=\"EN-AU\">Q5 <\/span><\/strong><span lang=\"EN-AU\">Alice has a message <strong><em><span style=\"color: red\">M<\/span><\/em><span style=\"color: red\">=186<\/span><\/strong> to send to Bob securely using Paillier encryption algorithm. Bob chooses <strong><em><span style=\"color: red\">p<\/span><\/em><span style=\"color: red\">=11<\/span><\/strong><em>, <strong><span style=\"color: red\">q<\/span><\/strong><\/em><strong><span style=\"color: red\">=17<\/span><\/strong><em>,<\/em>and selects an integer<em> <strong><span style=\"color: red\">g<\/span><\/strong> <\/em><strong><span style=\"color: red\">=188<\/span><\/strong>. Alice selects a random number <strong><em><span style=\"color: red\">r<\/span><\/em><span style=\"color: red\">=97<\/span><\/strong>. Show the encryption and decryption steps.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"text-align: right\" align=\"right\"><strong><span lang=\"EN-AU\">(Marks 2.5)<\/span><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><u><span lang=\"EN-AU\"><span>\u00a0<\/span><\/span><\/u><\/strong><\/p>\n<p class=\"MsoNormal\"><strong><em><span lang=\"EN-AU\">\u00a0<\/span><\/em><\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.Essay Paper Ltd\/wp-content\/uploads\/2017\/07\/Post-link.jpg\"\/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>v:* {behavior:url(#default#VML);}o:* {behavior:url(#default#VML);}w:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);} 800\u00d7600 Normal0false falsefalsefalse EN-USX-NONEX-NONE MicrosoftInternetExplorer4 \/* Style Definitions *\/table.MsoNormalTable{mso-style-name:\u201dTable Normal\u201d;mso-tstyle-rowband-size:0;mso-tstyle-colband-size:0;mso-style-noshow:yes;mso-style-priority:99;mso-style-parent:\u201d\u201d;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;mso-para-margin:0cm;mso-para-margin-bottom:.0001pt;mso-pagination:widow-orphan;font-size:10.0pt;font-family:\u201dTimes New Roman\u201d,serif;} \u00a0 Assignment #1 \u00a0 Q1 (a) Decrypt the ciphertext \u00a0 IAUTMOCSMNIMREBOTNELSTRHEREOAEVMWIH TSEEATMAEOHWHSYCEELTTEOHMUOUFEHTRFT \u00a0 This message was encrypted with a double <a href=\"https:\/\/www.benedictsol.com\/blogs\/computer-science-security-in-computing-encryption-encoding\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-431132","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/431132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=431132"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/431132\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=431132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=431132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=431132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}