免费一级欧美片在线观看网站_国产一区再线_欧美日本一区二区高清播放视频_国产99久久精品一区二区300

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

    免费一级欧美片在线观看网站_国产一区再线_欧美日本一区二区高清播放视频_国产99久久精品一区二区300
    成人国产精品免费网站| 欧美在线免费观看视频| 中文无字幕一区二区三区 | 中文字幕一区二| 97精品电影院| 亚洲一区二区三区激情| 欧美日韩免费不卡视频一区二区三区| 亚洲一区二区综合| 91精品福利在线一区二区三区| 免费看日韩a级影片| 精品日韩欧美一区二区| 国产成人亚洲综合a∨猫咪| 国产精品私人自拍| 色婷婷综合久久久中文一区二区 | 91无套直看片红桃| 亚洲成人免费看| 日韩欧美一级精品久久| 国产高清视频一区| 亚洲人吸女人奶水| 欧美日韩午夜在线视频| 精品一区二区在线观看| 中文av一区特黄| 在线观看免费一区| 理论电影国产精品| 国产精品美女久久久久久| 91久久香蕉国产日韩欧美9色| 天堂一区二区在线免费观看| 精品美女一区二区三区| 99在线热播精品免费| 亚洲国产精品一区二区www | 国产露脸91国语对白| 亚洲日本在线a| 日韩一区二区三区免费看| 国产成a人亚洲精品| 亚洲在线视频网站| 精品成人免费观看| 色综合久久久网| 麻豆精品久久久| 18成人在线观看| 日韩一本二本av| 99re66热这里只有精品3直播| 三级在线观看一区二区| 中文在线一区二区| 91精品国产免费| 不卡的av在线播放| 日本免费在线视频不卡一不卡二 | 国产欧美一区二区三区在线老狼| 在线观看免费视频综合| 久国产精品韩国三级视频| 亚洲精品五月天| 精品一区二区久久| 亚洲三级久久久| xfplay精品久久| 欧美三区在线视频| 成人一区二区在线观看| 秋霞午夜av一区二区三区| 日韩理论在线观看| 欧美精品一区二区在线播放 | 欧美一区二区久久久| 99久久精品情趣| 国模少妇一区二区三区| 亚洲成在人线免费| 国产精品久久久久久久久免费丝袜| 91精品久久久久久蜜臀| 91在线精品秘密一区二区| 国产专区综合网| 香蕉影视欧美成人| 综合色天天鬼久久鬼色| 精品国产一区二区三区av性色 | 国产999精品久久久久久绿帽| 一区二区在线观看免费 | 国产欧美一区二区三区在线老狼 | 久久综合久久综合久久| 欧美午夜精品一区二区三区| 国产99精品在线观看| 日韩国产在线观看一区| 亚洲啪啪综合av一区二区三区| 日韩欧美精品在线视频| 在线免费一区三区| 成人午夜精品一区二区三区| 日本亚洲欧美天堂免费| 亚洲精品网站在线观看| 精品处破学生在线二十三| 欧美日韩视频在线第一区| 成人av在线资源网站| 久久99久久99小草精品免视看| 一区二区三区精品在线观看| 国产91精品久久久久久久网曝门 | 亚洲线精品一区二区三区八戒| 亚洲精品一区二区精华| 91精品国产日韩91久久久久久| 91美女精品福利| 国产风韵犹存在线视精品| 日本视频一区二区三区| 亚洲国产美女搞黄色| 亚洲四区在线观看| 久久精子c满五个校花| 日韩欧美国产午夜精品| 欧美日韩成人激情| 91在线观看污| 成人免费视频免费观看| 国产一区二区三区免费在线观看 | 国产农村妇女精品| 精品少妇一区二区三区日产乱码 | 欧美熟乱第一页| 91麻豆产精品久久久久久| 国产盗摄一区二区| 奇米影视一区二区三区小说| 婷婷激情综合网| 亚洲精品久久久蜜桃| 国产精品久久久久久久久免费樱桃| 久久久久青草大香线综合精品| 日韩一卡二卡三卡国产欧美| 欧美日韩在线播放一区| 在线精品观看国产| 一本色道久久综合亚洲精品按摩| 成人av资源网站| 9久草视频在线视频精品| 成人国产精品免费网站| 国产999精品久久久久久绿帽| 国产xxx精品视频大全| 成人av免费网站| 91影院在线观看| 91丝袜美女网| 色婷婷综合五月| 欧美亚洲动漫另类| 欧美精品三级在线观看| 欧美日韩激情一区二区三区| 欧美日韩精品专区| 欧美精品少妇一区二区三区| 4438x亚洲最大成人网| 91精品国产综合久久久久久漫画 | 欧美aaaaaa午夜精品| 另类小说一区二区三区| 日本不卡视频在线| 日本色综合中文字幕| 伦理电影国产精品| 激情综合亚洲精品| 国产麻豆欧美日韩一区| 国产成人午夜精品影院观看视频| 激情五月婷婷综合| 国产麻豆精品在线观看| 国产乱码精品一区二区三区忘忧草 | 激情五月婷婷综合网| 国产成人午夜视频| 91香蕉视频污在线| 欧美性猛交xxxxxx富婆| 日本二三区不卡| 日韩欧美国产一区二区三区| 久久久久99精品一区| 国产精品午夜电影| 一区二区三区在线观看网站| 亚洲福利一区二区三区| 极品少妇xxxx精品少妇偷拍| av一区二区三区四区| 日本高清不卡一区| 91精品国产黑色紧身裤美女| 日韩欧美电影一二三| 国产精品青草久久| 亚洲资源中文字幕| 日本vs亚洲vs韩国一区三区二区 | 欧美日韩一区高清| 日韩免费观看高清完整版在线观看| ww亚洲ww在线观看国产| 国产精品久久网站| 亚洲一二三四在线| 精品一区二区三区免费毛片爱| 麻豆久久久久久| 不卡一区二区在线| 欧美在线小视频| 日韩欧美国产小视频| 国产精品色在线| 亚洲高清视频在线| 精品一区二区三区蜜桃| 成人午夜视频福利| 91精品视频网| 欧美高清一级片在线观看| 亚洲一区免费视频| 国产在线日韩欧美| 日本久久一区二区| 精品久久久久久无| 亚洲综合免费观看高清在线观看| 久久精品999| 91在线观看下载| 欧美不卡一区二区三区| 亚洲三级在线观看| 蜜桃久久久久久久| 91影院在线免费观看| 日韩三级在线免费观看| 国产精品电影院| 蜜桃av噜噜一区二区三区小说| 国产一区二区毛片| 欧美亚洲一区二区三区四区| 久久婷婷一区二区三区| 亚洲愉拍自拍另类高清精品| 国产精品一二二区| 在线电影国产精品| 最新热久久免费视频| 国产一区二区91| 欧美日韩高清一区二区不卡|