爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

COMP1212代寫、代做Java/c++程序設計

時間:2024-05-08  來源:  作者: 我要糾錯



School of Computing: assessment brief
Module title Computer Processors
Module code COMP1212
Assignment title Assignment 2: Encryption using a Feistel Cipher
Assignment type
and description
In-course assessment. Requires design, implementation
and testing of code written in assembly language
Rationale
Provides an opportunity to write assembly code including
 understanding the implementation of branching and
functions and learn how a Feistel Cipher works for encryption.
Word
limit and
guidance
This coursework should take less than 15 hours to complete.
Weighting
60%
Submission deadline
10am
 9/5/24
Submission
method
Gradescope
Feedback provision Feedback will be provided through Gradescope
Learning outcomes
assessed
Explain how high level programming constructs, such
as ’if’ statements and ’for’ loops, are implemented at a
machine level
Module lead Andy Bulpitt
Other Staff contact Noleen K¨ohler
11. Assignment guidance
The Feistel cipher is a symmetric block cipher encryption framework which is the basis
of many modern day encryption algorithms. In this coursework you will implement
a Feistel cipher system as a software implementation in Hack Assembly.
In a Feistel cipher the plaintext, P, to be encrypted is split into two equal size parts
L0 and R0 such that P = L0R0. A function F is applied to one half of the plaintext,
combined with a key, and the result is XOR’d with the other half of the plaintext.
Feistel ciphers often employ multiple rounds of this scheme. In general the scheme
works as follows, for all i = 0, . . . , n,
Li+1 = Ri
Ri+1 = Li ⊕ F(Ri
, Ki)
To decrypt an encrypted message using this cipher we can apply the same procedure
in reverse. For i = n, n − 1, . . . , 0,
Ri = Li+1
Li = 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) = A ⊕ ¬B.
The keys are derived from a single 8-bit key K0 such that,
K0 = b7b6b5b4b3b2b1b0
K1 = b6b5b4b3b2b1b0b7
K2 = b5b4b3b2b1b0b7b6
K3 = b4b3b2b1b0b7b6b5
2. Assessment tasks
(a) Write a program (XOR.asm) in HACK assembly that implements a bit-wise
XOR function between two 16-bit values stored in RAM[3] and RAM[4] and
stores the result in RAM[5].
[4 marks]
2(b) Write a program (Rotate.asm) in HACK assembly that implements an algorithm
to rotate the bits of a 16-bit number left (Least Significant bit (LSb) to Most
Significant bit (MSb)). The original number should be stored in RAM[3], the
number of times to rotate the bits should be in RAM[4] and the result stored in
RAM[5], i.e. 1010111100000000 rotated left 3 times would be 0111100000000101
where the MSb is used to replace the LSb on each rotation.
[8 marks]
(c) Write a program (FeistelEncryption.asm) in HACK assembly, that implements
the described Feistel encryption system. The initial key, K0, will be stored in
RAM[1], and the plaintext to be encrypted will be represented by a 16-bit value
stored in RAM[2]. The result of the encryption should be stored in RAM[0].
[10 marks]
[Total 22 marks]
3. General guidance and study support
Tools required to simulate the hardware and CPU are provided on Minerva under
Learning resources: Software. You may find it easier to implement cipher in a high
level language first. This will also allow you to test the results of your HACK program.
Support will be available during lab classes. Please ensure the files you upload work
with the test files provided and use the filenames provided in this sheet. Do not
alter the format of the lines of these test files in any way. The spacing in
each line needs to be preserved You are of course welcome to build your own
test files in the same format or add to these files.
4. Assessment criteria and marking process
This coursework will be automatically marked using Gradescope. Feedback will be
provided through Gradescope.
Marks are awarded for passing the automated tests on the submitted programs.
These will not necessarily be the same tests that are provided to help you develop
the solution. You should therefore test your solution thoroughly using other values
for the plaintext and keys before your final submission.
5. Presentation and referencing
Submitted code should provide suitable comments where possible.
6. Submission requirements
Links to submit your work can be found on Minerva under Assessment and feedback/Submit
my work. The HACK assembly (asm) files for each part must be uploaded
individually. Ensure you use only the filenames provided in this specification
sheet.
37. Academic misconduct and plagiarism
Academic integrity means engaging in good academic practice. This involves essential
academic skills, such as keeping track of where you find ideas and information and
referencing these accurately in your work.
By submitting this assignment you are confirming that the work is a true expression
of your own work and ideas and that you have given credit to others where their
work has contributed to yours.
8. Assessment/marking criteria
No marks will be awarded for tests which fail
• Part a) is graded using 4 tests, each worth 1 mark. [max 4 marks]
• Part b) is graded using 4 tests, each worth 2 marks. [max 8 marks]
• Part c) is graded using 4 tests, each worth 2 marks and a further 2 marks for
optimised solutions that require a lower number of operations to complete the
encryption [max 10 marks]
[Total 22 marks]
4

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





















 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:代做COCMP5328、代寫Python設計程序
  • 下一篇:代做DSA1002、代寫Java/c++設計編程
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              久久久久久久久综合| 国产欧美亚洲日本| 欧美一区二区三区免费在线看| 亚洲激情在线视频| 伊人久久大香线蕉av超碰演员| 国产精品毛片va一区二区三区| 国产精品日韩高清| 欧美在线影院在线视频| 欧美体内谢she精2性欧美| 欧美屁股在线| 国内精品写真在线观看| 狠狠久久综合婷婷不卡| 在线一区二区三区四区| 久久亚洲春色中文字幕| 麻豆成人精品| 国产精品激情av在线播放| 午夜日韩视频| 欧美一区二区精品在线| 国产精品日韩精品| 久久久人成影片一区二区三区| 久久偷看各类wc女厕嘘嘘偷窃| 亚洲欧美卡通另类91av| 久久久亚洲综合| 国产美女扒开尿口久久久| 国产精品视频免费一区| 羞羞漫画18久久大片| 亚洲午夜影视影院在线观看| 欧美三级中文字幕在线观看| 欧美福利视频在线观看| 一本色道久久精品| 欧美中文字幕第一页| 欧美日韩一区二区三区免费看| 国产欧美日韩一区二区三区在线| 久久夜色精品国产噜噜av| 在线亚洲欧美视频| 久久免费视频这里只有精品| 欧美精品videossex性护士| 欧美v亚洲v综合ⅴ国产v| 欧美成人午夜剧场免费观看| 亚洲一区制服诱惑| 国产精品私拍pans大尺度在线| 亚洲人成小说网站色在线| 最新国产拍偷乱拍精品| 亚洲女性裸体视频| 国产欧美日韩激情| 久久精品三级| 国产精品亚洲产品| 亚洲免费在线看| 狠狠狠色丁香婷婷综合激情| 欧美午夜影院| 伊人久久av导航| av成人免费在线| 国产亚洲一区二区三区在线播放| 欧美精品一区二区三区在线看午夜| 国产欧美一区二区三区在线看蜜臀| 亚洲精品免费在线| 亚洲日本va午夜在线影院| 亚洲成色999久久网站| 国产精品高清在线| 国产精品二区在线| 欧美高清在线观看| 国产欧美精品日韩区二区麻豆天美| 国产一区日韩二区欧美三区| 亚洲视频自拍偷拍| 亚洲精品国产精品久久清纯直播| 性感少妇一区| 精品白丝av| 国产精品红桃| 亚洲视频axxx| 欧美精选午夜久久久乱码6080| 欧美日韩国产亚洲一区| 激情久久久久久久| 你懂的网址国产 欧美| 中文日韩电影网站| 国产中文一区二区三区| 欧美视频在线一区二区三区| 国户精品久久久久久久久久久不卡| 久久久999精品| 黄色成人免费网站| 久久综合综合久久综合| 91久久国产综合久久91精品网站| 亚洲国产福利在线| 久久精品亚洲精品国产欧美kt∨| 新67194成人永久网站| 亚洲欧洲精品一区二区精品久久久| 日韩小视频在线观看| 国产精品乱子久久久久| 国产色产综合产在线视频| 亚洲全黄一级网站| 亚洲第一区中文99精品| 久久国产色av| 国产一区二区三区在线观看免费视频| 久久久精品tv| 欧美国产成人在线| 亚洲美女av黄| 亚洲欧美日韩精品久久| 欧美精品自拍偷拍动漫精品| 亚洲砖区区免费| 国产一区二区三区久久| 夜夜嗨av一区二区三区网站四季av| 欧美日韩午夜在线| 国产精品美女| 蜜臀99久久精品久久久久久软件| 在线观看国产精品淫| 亚洲国产精品成人一区二区| 亚洲欧美日韩系列| 亚洲欧美国产精品专区久久| 欧美一区二区三区在线免费观看| 亚洲一区二区三区精品在线观看| 亚洲精品久久嫩草网站秘色| 激情文学一区| 亚洲视频图片小说| 狠狠色综合色综合网络| 欧美成人精品在线播放| 亚洲一区二区三区免费观看| 久久久久久亚洲精品中文字幕| 亚洲娇小video精品| 国产精品久久久久久久久| 99re视频这里只有精品| 亚洲一区二区三区视频播放| 影音先锋亚洲电影| 99在线观看免费视频精品观看| 亚洲一区二区三区中文字幕| 国产精品国产三级国产普通话99| 国产精品系列在线播放| 一本一本久久a久久精品牛牛影视| 在线观看国产精品淫| 欧美日韩亚洲一区二区三区四区| 免费在线观看日韩欧美| 久久久激情视频| 国产一区二区三区免费观看| 欧美日韩一区二区精品| 国产精品日本欧美一区二区三区| 国产精品私房写真福利视频| 亚洲性夜色噜噜噜7777| 欧美aa在线视频| aa国产精品| 在线观看不卡| 欧美日韩一级黄| 国产欧美一区二区在线观看| 国产三区二区一区久久| 亚洲免费av电影| 欧美精品自拍偷拍动漫精品| 国产精品夫妻自拍| 国产麻豆精品theporn| 欧美日本亚洲视频| 亚洲福利在线观看| 久久久久久久久久久久久9999| 国产精品久久久久久久7电影| 国产一区二区三区直播精品电影| 欧美视频不卡| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲深夜av| 国产精品国码视频| 国产精品理论片| 亚洲一区美女视频在线观看免费| 国产综合在线视频| 国产麻豆午夜三级精品| 一本综合久久| 亚洲欧美日韩视频二区| 亚洲精品美女在线观看| 伊人狠狠色j香婷婷综合| 亚洲国产另类久久久精品极度| 欧美日韩 国产精品| 亚洲电影在线免费观看| 国产精品美女久久久久aⅴ国产馆| 国产综合欧美在线看| 欧美久久久久久久| 欧美激情亚洲| 欧美专区在线| 国产精品国产三级国产专播精品人| 欧美激情视频在线免费观看 欧美视频免费一| 欧美一区二区网站| 欧美一区二区三区精品电影| **欧美日韩vr在线| 欧美成人免费一级人片100| 欧美久久影院| 国产精品精品视频| 亚洲精品乱码久久久久久黑人| 欧美成人在线免费视频| 久久av在线| 欧美大片免费观看在线观看网站推荐| 国产精品免费福利| 狠狠色狠狠色综合日日小说| 韩国一区二区在线观看| 欧美福利视频一区| 国产中文一区二区三区| 国产精品扒开腿做爽爽爽视频| 欧美韩国一区| 久久在线免费观看视频| 在线成人免费观看| 蜜桃av久久久亚洲精品| 欧美电影免费观看| 亚洲午夜久久久久久久久电影网| 男同欧美伦乱| 欧美日韩亚洲一区二区三区在线| 亚洲欧美在线观看| 麻豆精品91| 久久久久国产精品一区三寸| 欧美日本国产精品|