成a人片国产精品_色悠悠久久综合_国产精品美女久久久久久2018_日韩精品一区二区三区中文精品_欧美亚洲国产一区在线观看网站_中文字幕一区在线_粉嫩一区二区三区在线看_国产亚洲欧洲997久久综合_不卡一区在线观看_亚洲欧美在线aaa_久久99精品国产_欧美卡1卡2卡_国产精品你懂的_日韩精品91亚洲二区在线观看_国内一区二区视频_91丨国产丨九色丨pron

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)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗證碼平臺 幣安官網下載 歐冠直播 WPS下載

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

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

    成a人片国产精品_色悠悠久久综合_国产精品美女久久久久久2018_日韩精品一区二区三区中文精品_欧美亚洲国产一区在线观看网站_中文字幕一区在线_粉嫩一区二区三区在线看_国产亚洲欧洲997久久综合_不卡一区在线观看_亚洲欧美在线aaa_久久99精品国产_欧美卡1卡2卡_国产精品你懂的_日韩精品91亚洲二区在线观看_国内一区二区视频_91丨国产丨九色丨pron
    久久久久久夜精品精品免费| 久久久精品日韩欧美| 欧美麻豆精品久久久久久| 久久综合五月天婷婷伊人| 一区二区三区四区在线播放| 高清beeg欧美| 精品少妇一区二区三区视频免付费 | 九九热在线视频观看这里只有精品| 色综合久久天天综合网| 欧美国产一区在线| 国内外精品视频| 日韩欧美一区二区视频| 亚洲一级二级在线| 一本大道久久a久久综合婷婷| 日本一区二区三区国色天香| 激情六月婷婷综合| 日韩三级在线观看| 午夜天堂影视香蕉久久| 欧美性猛片xxxx免费看久爱| 椎名由奈av一区二区三区| 国产91精品精华液一区二区三区| 精品国产a毛片| 美女性感视频久久| 欧美一区二区视频观看视频| 天天综合网 天天综合色| 国产一区二区福利视频| 日韩一区二区三区高清免费看看| 日韩精品五月天| 欧美在线制服丝袜| 夜夜嗨av一区二区三区四季av| 91网页版在线| 专区另类欧美日韩| 91丨porny丨蝌蚪视频| 综合电影一区二区三区| 91日韩在线专区| 亚洲视频一区在线| 色婷婷国产精品| 亚洲欧美日韩一区| 91亚洲精华国产精华精华液| 亚洲欧美日韩国产另类专区| 91片黄在线观看| 一区二区三区四区乱视频| 91日韩在线专区| 亚洲乱码日产精品bd| 色狠狠综合天天综合综合| 亚洲丝袜制服诱惑| 在线观看免费一区| 亚洲成人一区二区| 欧美一区二区三区色| 日本三级韩国三级欧美三级| 日韩午夜在线播放| 国产美女视频91| 国产精品丝袜在线| 色天使色偷偷av一区二区| 亚洲一区二区三区视频在线播放| 在线亚洲一区二区| 性做久久久久久免费观看欧美| 欧美一区中文字幕| 国产一区二区福利视频| 国产精品萝li| 91亚洲精品乱码久久久久久蜜桃| 一区二区三区丝袜| 欧美一区二区三区视频免费| 国产呦萝稀缺另类资源| 中文字幕乱码亚洲精品一区| av不卡免费电影| 午夜精品久久久久久久久久 | 亚洲成av人片| 欧美大胆人体bbbb| 国产福利一区二区三区视频| 国产精品成人免费在线| 91国模大尺度私拍在线视频| 日韩极品在线观看| 久久亚洲精华国产精华液| av毛片久久久久**hd| 亚洲一区二区中文在线| 欧美大度的电影原声| 99精品在线观看视频| 日日骚欧美日韩| 久久久国产精华| 色网综合在线观看| 久久精品国产秦先生| 中文字幕中文乱码欧美一区二区| 欧美午夜精品理论片a级按摩| 久久99久久精品欧美| 中文字幕一区二区三区在线观看| 欧美日韩免费一区二区三区 | 97精品久久久午夜一区二区三区| 亚洲成人一二三| 久久久久高清精品| 欧美亚洲综合久久| 国产一区二区0| 亚洲网友自拍偷拍| 久久久www免费人成精品| 91福利精品第一导航| 黄色资源网久久资源365| 亚洲视频一二三| 精品国产乱子伦一区| 色综合一个色综合| 国产真实精品久久二三区| 亚洲制服欧美中文字幕中文字幕| 久久你懂得1024| 欧美三级乱人伦电影| 国产福利不卡视频| 视频精品一区二区| 国产精品国产三级国产aⅴ中文| 欧美一级淫片007| 色综合天天综合狠狠| 精品一区在线看| 一区二区三区久久| 国产午夜亚洲精品理论片色戒 | 91麻豆精品国产| 成人黄色小视频| 日韩av在线播放中文字幕| 国产精品国产三级国产普通话蜜臀| 日韩三级视频中文字幕| 欧洲色大大久久| 不卡视频在线观看| 国产尤物一区二区| 日韩电影一区二区三区| 亚洲裸体xxx| 国产精品网站导航| 精品91自产拍在线观看一区| 欧美剧在线免费观看网站| 成人av网址在线观看| 久久66热偷产精品| 午夜激情久久久| 一区二区三区精密机械公司| 中文字幕第一区二区| 337p粉嫩大胆噜噜噜噜噜91av| 欧美高清dvd| 在线免费av一区| 91在线码无精品| 丁香另类激情小说| 国产一区高清在线| 麻豆精品在线播放| 婷婷综合五月天| 亚洲图片欧美一区| 夜夜嗨av一区二区三区| 亚洲免费av高清| 亚洲同性gay激情无套| 中文无字幕一区二区三区 | 一区二区三区在线观看动漫| 欧美国产成人精品| 久久精品欧美一区二区三区麻豆| 日韩午夜在线观看| 91精品国产综合久久精品麻豆 | 亚洲一区二区成人在线观看| 综合久久久久综合| 国产精品色一区二区三区| 久久亚洲精品国产精品紫薇| 欧美mv日韩mv国产网站app| 欧美一级免费大片| 欧美一区二区三区思思人| 欧美精品777| 欧美一区二区在线播放| 欧美一区二区日韩| 6080国产精品一区二区| 337p亚洲精品色噜噜狠狠| 69久久99精品久久久久婷婷| 在线电影院国产精品| 欧美精品一级二级三级| 欧美精品久久久久久久多人混战 | 国产精品综合二区| 国产资源在线一区| 国产一区999| 国产一区二区三区久久久| 韩国精品免费视频| 久草在线在线精品观看| 国产一区二三区| 国产精品一区二区久久精品爱涩| 黑人精品欧美一区二区蜜桃| 国内成人免费视频| 国产精品综合久久| 成人一区二区三区在线观看| 成人小视频在线观看| 成人动漫一区二区在线| 91视频在线看| 欧美色欧美亚洲另类二区| 欧美日韩一二三区| 欧美一区二区三区公司| 精品免费视频.| 国产天堂亚洲国产碰碰| 国产精品视频你懂的| 亚洲欧美一区二区三区国产精品| 亚洲一区二区欧美日韩| 日韩福利电影在线观看| 久久69国产一区二区蜜臀| 国产激情一区二区三区| heyzo一本久久综合| 日本韩国欧美一区| 在线播放视频一区| 精品91自产拍在线观看一区| 欧美激情在线免费观看| 亚洲欧美日韩一区二区三区在线观看| 亚洲国产精品综合小说图片区| 青青青爽久久午夜综合久久午夜 | 欧美mv日韩mv亚洲| 九九**精品视频免费播放| 成人中文字幕合集|