狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

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毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    中文字幕免费高清在线| www亚洲成人| gogogo免费高清日本写真| 久久久久免费精品| www.浪潮av.com| 91专区在线观看| 国产美女主播在线播放| 日韩亚洲欧美一区二区| 色婷婷777777仙踪林| 国产免费xxx| 久久久久久久久网| av在线观看地址| 妺妺窝人体色www在线小说| 日韩在线一级片| 婷婷丁香激情网| 日本三级黄色网址| 色中文字幕在线观看| 国产精品无码免费专区午夜| 男人添女人荫蒂免费视频| 欧日韩免费视频| 激情综合网婷婷| 国模私拍视频在线观看| 黄色高清视频网站| wwwwww欧美| 日韩中文字幕二区| 尤物网站在线看| 黄色大片在线免费看| 亚洲中文字幕久久精品无码喷水| 成人精品视频一区二区| 国产精品久久久久久久av福利| 美女网站色免费| 国产成人生活片| 午夜免费高清视频| 伊人再见免费在线观看高清版| 无码人妻少妇伦在线电影| 国产精品第12页| 在线观看18视频网站| 国产一级不卡毛片| 日韩a级黄色片| 日本国产一级片| 日本a视频在线观看| 在线播放免费视频| 成人一区二区三| 欧美日韩福利在线| 涩多多在线观看| 九九热在线免费| 无码aⅴ精品一区二区三区浪潮 | 欧洲美女和动交zoz0z| 久久久久免费看黄a片app| 日本福利视频导航| 五月婷婷激情久久| 欧美精品一区免费| 国产freexxxx性播放麻豆| 午夜国产福利在线观看| 欧美两根一起进3p做受视频| 成人黄色大片网站| 激情六月天婷婷| 日本高清免费在线视频| 日韩欧美xxxx| 成人小视频在线看| 欧美一区二区三区爽大粗免费| 午夜激情av在线| 男人天堂成人在线| 99视频精品免费| 国产综合免费视频| 激情综合网俺也去| 免费在线观看的av网站| 国产精品免费入口| 成人免费视频久久| 成人免费xxxxx在线视频| 亚洲欧美另类动漫| 91最新在线观看| 三区视频在线观看| 中文字幕第66页| 青青在线免费视频| youjizz.com在线观看| 大陆av在线播放| 岳毛多又紧做起爽| 日本xxxx黄色| 999热精品视频| 毛片av在线播放| 黄色大片中文字幕| 亚洲中文字幕无码av永久| 日韩精品一区二区三区久久| 少妇人妻互换不带套| 做a视频在线观看| 999一区二区三区| 欧美精品色婷婷五月综合| 99草草国产熟女视频在线| 久久久久久综合网| 僵尸世界大战2 在线播放| 成人性视频欧美一区二区三区| 亚洲国产精品久久久久婷蜜芽| heyzo国产| 中文字幕亚洲影院| 欧美亚洲色图视频| 黄色手机在线视频| 欧美精品久久久久久久自慰| 免费看污污网站| 青草青青在线视频| 国产一区二区视频免费在线观看| 三上悠亚在线一区| 日本中文字幕亚洲| 日本免费色视频| 女人和拘做爰正片视频| 欧美日韩在线免费观看视频| 成熟了的熟妇毛茸茸| 桥本有菜av在线| av丝袜天堂网| 99在线免费视频观看| gai在线观看免费高清| 男人和女人啪啪网站| 玖玖精品在线视频| 自拍偷拍21p| av免费在线播放网站| 99久久免费观看| 狠狠操狠狠干视频| 久久国产色av免费观看| 欧美视频在线观看视频| 91香蕉国产线在线观看| www.99av.com| 国产裸体免费无遮挡| 精品无码一区二区三区在线| 国产一区二区三区在线免费| 国产九九九视频| 岛国av免费在线| 天天操狠狠操夜夜操| 黄色三级视频片| 农村妇女精品一二区| 日韩欧美在线播放视频| 亚洲中文字幕无码av永久| 隔壁人妻偷人bd中字| 日韩精品手机在线观看| 亚洲小视频在线播放| 国产91在线亚洲| 国产成人在线小视频| 国产欧美123| 国产精品12345| 无码粉嫩虎白一线天在线观看| 一级黄色片在线免费观看| 国产精品嫩草影视| 水蜜桃在线免费观看| av久久久久久| 欧美黑人经典片免费观看| 女人喷潮完整视频| 欧美三级理论片| 亚洲精品第三页| www婷婷av久久久影片| 人妻夜夜添夜夜无码av | 香港三级韩国三级日本三级| 91av资源网| 午夜视频你懂的| 国产卡一卡二在线| 国产a级片网站| 色戒在线免费观看| 日本精品福利视频| 国产精品宾馆在线精品酒店| 中文字幕在线观看第三页| wwwwwxxxx日本| 国产一二三在线视频| 日韩av片网站| 免费观看亚洲视频| 久热免费在线观看| 国产精品h视频| 久章草在线视频| 91视频 - 88av| 国产视频一区二区三区在线播放 | 日本一区二区免费高清视频| 日韩一级片免费视频| 九一精品在线观看| 美女av免费观看| 黄色三级视频片| 亚洲精品蜜桃久久久久久| av免费一区二区| 人妻少妇精品久久| 色婷婷一区二区三区在线观看| 香蕉视频在线网址| 日韩视频在线免费看| 欧美这里只有精品| 一级黄色在线播放| 爆乳熟妇一区二区三区霸乳| cao在线观看| 麻豆中文字幕在线观看| 少妇网站在线观看| 精品久久久噜噜噜噜久久图片| 三级网在线观看| 中文字幕视频三区| 少妇一级淫免费放| 农村妇女精品一二区| 久操网在线观看| 屁屁影院ccyy国产第一页| 91网址在线观看精品| 天天干天天av| 一级黄色特级片| 色乱码一区二区三区在线| 999精品网站| 手机看片福利日韩| 亚欧美在线观看| 国产传媒免费观看| 天美一区二区三区|