{"id":64,"date":"2019-08-21T11:28:01","date_gmt":"2019-08-21T18:28:01","guid":{"rendered":"https:\/\/blogs.ubc.ca\/442test\/?page_id=64"},"modified":"2022-09-26T09:56:50","modified_gmt":"2022-09-26T16:56:50","slug":"assignment-2","status":"publish","type":"page","link":"https:\/\/blogs.ubc.ca\/cpen442\/assignments\/assignment-2\/","title":{"rendered":"Assignment 2"},"content":{"rendered":"<h1>Problems<\/h1>\n<h2><strong>Problem 1: Cryptanalysis (in the lab)<\/strong><\/h2>\n<p>Download <a href=\"https:\/\/blogs.ubc.ca\/cpen442\/files\/2022\/08\/cipher1.txt\">this file (cipher1.txt)<\/a> and find the cipher-text assigned to your group. Perform cryptanalysis to (1) identify the cipher used to encrypt the data, (2) find the encryption key, and (3) decrypt the text. Submit a report that contains the following:<\/p>\n<ol>\n<li><strong>(2 points)<\/strong> The recovered plain text (exactly as recovered, no need to add spaces or punctuation)<\/li>\n<li><strong>(2 points)<\/strong> The name of the cipher,<\/li>\n<li><strong>(2 points)<\/strong> The key, and<\/li>\n<li><strong>(2 points)<\/strong> A brief description of the steps you took for recovering the key, including a (Github) link to any code you developed to solve the problem.<\/li>\n<\/ol>\n<h2><strong>Problem 2: Cryptanalysis (at home)<\/strong><\/h2>\n<p>First, familiarize yourself with the Playfair cipher by watching the videos below:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=quKhvu2tPy8\">Playfair Cipher video<\/a>.<\/li>\n<li><a href=\"https:\/\/www.dropbox.com\/s\/2uykh1e24k5hr10\/02-Playfair%20Cipher.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">Playfair Cipher mechanics<\/a>.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Then, download <a href=\"https:\/\/blogs.ubc.ca\/cpen442\/files\/2022\/08\/cipher2.txt\">this file (cipher2.txt)<\/a> and find the cipher-text assigned to your group. The cipher-text is encrypted with <strong>Playfair<\/strong>. Your job is to find the encryption key, and then decrypt the text. Submit a report that contains the following:<\/p>\n<ol>\n<li><strong>(5 points)<\/strong> The recovered plain text (exactly as recovered, no need to add spaces or punctuation)<\/li>\n<li><strong>(2 points)<\/strong> a brief explanation of how one could infer that the text is encrypted with Playfair (in case it was not known),<\/li>\n<li><strong>(3 points)<\/strong> the recovered key, and<\/li>\n<li><strong>(7 points)<\/strong> a brief description of the steps you took for recovering the key (include a Github link to any code you developed to solve the problem).<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Problems Problem 1: Cryptanalysis (in the lab) Download this file (cipher1.txt) and find the cipher-text assigned to your group. Perform cryptanalysis to (1) identify the cipher used to encrypt the data, (2) find the encryption key, and (3) decrypt the text. Submit a report that contains the following: (2 points) The recovered plain text (exactly [&hellip;]<\/p>\n","protected":false},"author":54380,"featured_media":0,"parent":53,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":{"footnotes":""},"class_list":["post-64","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/pages\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/users\/54380"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":39,"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/pages\/64\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/pages\/64\/revisions\/1442"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/pages\/53"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/cpen442\/wp-json\/wp\/v2\/media?parent=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}