assignment代做 | 密码学 | 网络安全 – COSC 4P03 Advanced Algorithms

COSC 4P03 Advanced Algorithms

assignment代做 | 密码学 | 网络安全 – COSC 4P03 Advanced Algorithms, 该题目是值得借鉴的密码学方面的assignment代写的题目

ass代做 assignment代写 代写assignment

Winter 20 21

Assignment

Due Date: April 16 th, 6:00pm No late assignments will be accepted. This assignment accounts for 10% of your final grade and is worth a total of 100 marks.

In this assignment you will be performing cryptanalysis on 3 different pieces of ciphertext. In each case, you are to determine the plaintext and give a clear description of the steps you follow in your cryptanalysis. You must also submit any programs you used.

You will be marked not only on obtaining the correct answer, but also on the methods, and explanation of the methods, used to achieve that answer.

  1. [30 marks] The following ciphertext was encrypted using a Substitution Cipher.
LYAMKLHULYAGKNNHWLVBTAGKVVYHGBURUHVBRUHF
VNAAOBUAVVBLGKVVBLLBURKVVLBNNKVKVLKLWABL
VAXAVFBZATWUCNBUIBURNXHULYAFKPMHPUAPHFOP
BJALTPBJABLTBTULVHQWMYKVEWBJAPGYAUKMKPTH
HPVNKQQATBULYAUAZLVLPAALUHPGYAULGHHGNVVG
HHOATHJAPYAKTBUFKMLBLGKVUAKPNXQBTUBRYLCA
FHPALYAMKLQHJATKLKNNKQKUKOOAKPATHULYAMHP
UAPLYAMKLYKTCAAUGKLMYBURKOOAKPATVHVWTTAU
NXKUTVBNAULNXXHWTYKJALYHWRYLYATSWVLOHOOA
THWLHFLYARPHWUTLYAMKLVLKBNLGBLMYATKUTBLV
AXAVUKPPHGAT
  1. [35 marks] The following ciphertext was encrypted using a Vigenere Cipher.
ONXAKWUFEHBKURPRBJGXPDZGBIWIWYZIZNPMTTSE
LSZECEXQZECNOGSOQTECMAWAUWZHPHFRIHSIHCXS
RUFBKHLSXJXELDVQAPALXLZEOTECMRPAQCTCJCIM
VAPDFYMAWAZROCLAPRNEDTXLJACDOCVODIQMXYZF
XJRKYOTJKDREXLJWTSAMSFZRQFUURHFRNADMXLEO
XIPQOOYSXLJCZNQYONDMRANTSAQGYAAOZPEPSAIM
XAELBYYTHIIBRYTNXAIUCAQCOTDCLPKSZVBPZHPO
IBKRXOOCVEOEPRXILNTMXKTNQUUIXPLPZAYTOCYP
PCQQ
  1. [35 marks] The following ciphertext was encrypted using a Rabin cipher with public key n= 35621. Each character of the plaintext was first converted into numerical format by mapping a0, b1, …, z25. The plaintext was then divided into sets of 3 characters. Each set of 3 characters c 0 c 1 c 2 was converted to the value x = c 0 *26^2 + c 1 *26 + c 2 : for example, the word the would be converted to x = 13030. Each value x was then encrypted as ciphertext y = x^2 mod 35621. The total number of characters in the plaintext is divisible by 3.
13192 28241 24608 4378 20109 4406 31470 35276 32290 23443
14325 11459 30327 19234 3764 16729 32725 5401 3804 23513
24589 8998 20109 9477 29216 438 28920 1623 7719 10627
4003 31991 14616 31905 26370 33010 27631 5168 25901 15726
14558 18149 17134 28190 10797

Submission Requirements: All submissions will be via Sakai. All of the following must be put in a single, zipped folder for submission:

  1. All program files required to run your programs. All code must be commented and properly documented.
  2. A printout of your programs, which has been printed into PDF format.
  3. The plaintext for each given ciphertext.
  4. Full and complete explanations of the methods used to decipher the messages.
  5. Any information required to run your programs. Programs may be written in Java, C++, or Python.