写作XJCO1212程序语言、 辅导Python,Java

” 写作XJCO1212程序语言、 辅导Python,JavaCoursework 4Computer Processors (COMP1212/XJCO1212)You should follow the instructions below on how to prepare your submission. Late submissionsare not accepted without mitigating circumstances. Feedback on late submissionsmay not be provided within 3 weeks of submission.Submission You must submit your work via Gradescope.Deadline See Gradescope.Weighting This piece of summative coursework is worth 25% of the module grade.The Feistel cipher is a symmetric Block cipher encryption framework which is the basisof many modern day encryption algorithms. In this coursework you will implement aFeistel cipher system as a hardware component and as a software implementation. In aFeistel cipher the plaintext, P, to be encrypted is split into two equal size parts L0 andR0 such that P = L0R0. A function F is applied to one half of the plaintext, combinedwith a key, and the result is XORd with the other half of the plaintext. Feistel ciphersoften employ multiple rounds of this scheme. In general the scheme works as follows, forall i = 0, . . . , n,Li+1 = RiRi+1 = Li F(Ri, Ki)To decrypt an encrypted message using this cipher we can apply the same procedurein reverse. For i = n, n 1, . . . , 0,Ri = Li+1Li = Ri+1 F(Li+1, Ki)For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds.The function F(A, B) = AB. The Keys are derived from a single 8-bit key K0 such that,K0 = b7b6b5b4b3b2b1b0K1 = b6b5b4b3b2b1b0b7K2 = b5b4b3b2b1b0b7b6K3 = b4b3b2b1b0b7b6b511. Produce an implementation, in HDL, of the described Feistel encryption scheme. Thechip should have the following preamble.CHIP FeistelEncryption {IN plaintext[16], key[8];OUT ciphertext[16];PARTS:}2. Write a program in HACK Assembly, without using symbols, that implements thedescribed Feistel encryption system. The initial key, K0, will be stored in RAM[1],and the 16-bit plaintext will be stored in RAM[2]. The result of the encryptionshould be stored in RAM[0]. Your solution should be submitted in a file calledFeistelEncryption.asm.You may use any RAM locations not specified in the description for intermediatevariables.Question 1 is worth 10 marks, and Question 2 is worth 15 marks.请加QQ:99515681 或邮箱:99515681@qq.com WX:codehelp

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导