狠狠综合久久久久综合网址-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>
    久久黄色片网站| 情侣黄网站免费看| 国产91对白刺激露脸在线观看| 中文字幕 欧美日韩| 北条麻妃在线一区| 不卡av免费在线| 欧美日韩第二页| 国产精品一区二区免费在线观看| 成人小视频在线观看免费| 亚洲精品mv在线观看| 色国产在线视频| 亚洲免费999| 国产欧美精品一二三| 九九久久久久久| 国产成人免费高清视频| 香蕉视频色在线观看| 男人日女人的bb| 免费一级特黄毛片| 99视频在线免费| 婷婷中文字幕在线观看| 视频一区二区视频| 欧美精品自拍视频| 噼里啪啦国语在线观看免费版高清版| 2022亚洲天堂| 五月天激情播播| 黄色网在线视频| 999精品网站| 色姑娘综合天天| 国产原创popny丨九色| 日本熟妇人妻中出| 在线a免费观看| 免费毛片小视频| 亚洲在线观看网站| 免费国产a级片| 51自拍视频在线观看| 日本欧美黄色片| www.久久com| 男人的天堂99| 国产日韩欧美大片| 国产精品视频黄色| 黄色免费网址大全| 成人免费黄色av| 伊人成色综合网| 婷婷中文字幕在线观看| av免费看网址| 奇米777在线视频| 男女曰b免费视频| 91.com在线| 伊人五月天婷婷| 日本老熟妇毛茸茸| 国产视频九色蝌蚪| 国产日韩视频在线播放| 人人爽人人av| 波多野结衣家庭教师在线| 中文字幕制服丝袜在线| 日本熟妇人妻xxxxx| 国产欧美日韩网站| 国产一线二线三线女| 国产欧美综合一区| 欧美少妇一级片| 欧美两根一起进3p做受视频| 国产精品第157页| 久久久天堂国产精品| 亚洲18在线看污www麻豆| 国产成人av影视| 日日鲁鲁鲁夜夜爽爽狠狠视频97 | 国内av一区二区| www.99av.com| 搡女人真爽免费午夜网站| 97超碰青青草| 成人在线看视频| www.欧美日本| 久久久精品麻豆| 999这里有精品| 91社在线播放| 999久久欧美人妻一区二区| 日韩人妻一区二区三区蜜桃视频| 日本中文字幕在线不卡| 欧美日韩亚洲国产成人| 97超碰人人爱| 和岳每晚弄的高潮嗷嗷叫视频| 日本wwwcom| 91传媒久久久| 污污网站免费观看| 亚洲免费视频播放| 免费看的黄色大片| 美女网站色免费| avove在线观看| 凹凸国产熟女精品视频| 午夜免费看视频| 黄色录像特级片| 午夜肉伦伦影院| 91热视频在线观看| 日韩欧美不卡在线| 亚洲老女人av| 免费在线看黄色片| 免费看污黄网站| 成人一级生活片| 欧美婷婷精品激情| 天堂8在线天堂资源bt| 男人插女人下面免费视频| 国产探花在线观看视频| 国产高清不卡无码视频| 高清一区二区视频| 日本aa在线观看| 日本高清久久久| www国产精品内射老熟女| 91小视频在线播放| 欧美成人免费高清视频| 成人一区二区av| 久久精品一卡二卡| 午夜免费精品视频| 欧美国产亚洲一区| av 日韩 人妻 黑人 综合 无码| 黄色三级视频在线| 狠狠爱免费视频| r级无码视频在线观看| 午夜剧场在线免费观看| 国产av无码专区亚洲精品| 国产 欧美 日韩 一区| 国产高清av片| 午夜剧场高清版免费观看| 国产av无码专区亚洲精品| 免费一级特黄特色毛片久久看| 亚洲欧美日韩一二三区| 国产aⅴ爽av久久久久| www日韩视频| 欧美视频第三页| av观看免费在线| 丝袜老师办公室里做好紧好爽| 久久久国内精品| 国产精品无码电影在线观看| 黄色污污在线观看| 黄色污污在线观看| 97在线免费视频观看| 亚洲免费视频播放| av日韩在线看| 黄色三级中文字幕| 日本a在线天堂| 国产一二三区在线播放| 男人天堂av片| 日韩精品xxxx| 777米奇影视第四色| 无码日韩人妻精品久久蜜桃| 男女曰b免费视频| wwwwwxxxx日本| 亚洲第一精品区| 东北少妇不带套对白| 欧美一区二区三区爽大粗免费| 免费在线a视频| 国产精品拍拍拍| 成人性做爰片免费视频| 欧洲精品一区二区三区久久| 欧美成人三级在线视频| 免费观看精品视频| 不用播放器的免费av| 在线视频一二三区| 日本免费黄视频| 超碰中文字幕在线观看| 国产一区二区四区| 高清一区二区视频| 91嫩草国产丨精品入口麻豆| jizzjizz国产精品喷水| jizz大全欧美jizzcom| 国产日产欧美一区二区| 日韩中文字幕在线视频观看| 久久久精品高清| a级黄色一级片| 久久久久久久久久毛片| 福利视频一二区| 欧美性猛交xxxx乱大交91| 黄页网站大全在线观看| 涩涩网站在线看| 黑人糟蹋人妻hd中文字幕 | 国产精品人人妻人人爽人人牛| 污污的视频免费观看| 黄www在线观看| 国产女人18毛片| 午夜免费看毛片| 成熟老妇女视频| 久久久久久久久久网| 色偷偷中文字幕| 蜜臀av免费观看| 97xxxxx| 国产精品igao激情视频| 污污视频网站在线| 久久人妻精品白浆国产| 国产欧美日韩小视频| 懂色av粉嫩av蜜臀av| 成年网站在线播放| 成人在线激情网| 日韩精品一区二区三区不卡| 黄色三级中文字幕| 黄色成人在线免费观看| 99热一区二区三区| 999久久久精品视频| 少妇一级淫免费播放 | 日本不卡一区二区在线观看| 亚洲综合在线网站| 狠狠热免费视频|