日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

COMP1212代寫(xiě)、代做Java/c++程序設(shè)計(jì)

時(shí)間:2024-05-08  來(lái)源:  作者: 我要糾錯(cuò)



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

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





















 

標(biāo)簽:

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代做COCMP5328、代寫(xiě)Python設(shè)計(jì)程序
  • 下一篇:代做DSA1002、代寫(xiě)Java/c++設(shè)計(jì)編程
  • 無(wú)相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲(chóng)
    油炸竹蟲(chóng)
    酸筍煮魚(yú)(雞)
    酸筍煮魚(yú)(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚(yú)
    香茅草烤魚(yú)
    檸檬烤魚(yú)
    檸檬烤魚(yú)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • NBA直播 短信驗(yàn)證碼平臺(tái) 幣安官網(wǎng)下載 歐冠直播 WPS下載

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲AV成人精品日韩一区18p

              99re66热这里只有精品4| 国产欧美日韩视频一区二区| 一区三区视频| 亚洲欧美一区二区在线观看| 欧美理论在线播放| 亚洲精品视频中文字幕| 免费在线欧美黄色| 狠狠久久亚洲欧美专区| 久久精品123| 国产亚洲欧美另类一区二区三区| 午夜激情综合网| 国产精品女主播一区二区三区| 正在播放日韩| 欧美性猛交99久久久久99按摩 | 玖玖综合伊人| 国产在线精品二区| 久久久99免费视频| 亚洲大片免费看| 老司机午夜精品视频| 有坂深雪在线一区| 你懂的国产精品永久在线| 亚洲第一偷拍| 欧美黑人在线播放| 日韩视频国产视频| 国产精品久久久久aaaa| 亚洲欧美日韩国产中文| 国产亚洲一区二区三区| 久久精品国内一区二区三区| 在线观看视频欧美| 欧美成人一区二区三区| 一本大道久久精品懂色aⅴ| 国产精品理论片| 欧美一区二区成人| 在线高清一区| 欧美另类视频在线| 亚洲影院免费观看| 国内精品一区二区| 欧美风情在线| 亚洲一区二区黄色| 今天的高清视频免费播放成人 | 亚洲线精品一区二区三区八戒| 欧美午夜精品一区二区三区| 久久av最新网址| 亚洲欧洲精品一区二区精品久久久| 欧美日韩www| 欧美专区18| 亚洲精品在线电影| 国产精品久久久久影院亚瑟| 久久久久久久一区二区三区| 亚洲乱码一区二区| 国产日韩亚洲欧美| 欧美久久久久免费| 欧美在线你懂的| 亚洲作爱视频| 在线国产亚洲欧美| 国产精品视频免费在线观看| 久久婷婷丁香| 午夜激情久久久| 亚洲美女免费精品视频在线观看| 国产日韩在线亚洲字幕中文| 欧美久久九九| 美女精品国产| 久久电影一区| 亚洲午夜未删减在线观看| 在线电影国产精品| 国产日韩欧美日韩大片| 欧美日韩三区四区| 美玉足脚交一区二区三区图片| 亚洲欧美国产制服动漫| 亚洲蜜桃精久久久久久久| 国内成+人亚洲| 国产精品伊人日日| 欧美视频一区二区三区…| 老鸭窝91久久精品色噜噜导演| 亚洲在线一区| 一区二区国产精品| 亚洲国产天堂久久综合网| 国产在线播精品第三| 国产精品日韩欧美| 欧美视频在线视频| 欧美日韩情趣电影| 欧美精品久久99| 欧美国产激情二区三区| 久久综合久久综合久久| 久久av二区| 午夜精品成人在线| 亚洲影视综合| 亚洲欧美日本伦理| 亚洲影视综合| 性亚洲最疯狂xxxx高清| 亚洲欧美激情视频在线观看一区二区三区 | 黑人极品videos精品欧美裸| 国产乱码精品一区二区三区不卡| 欧美婷婷久久| 国产精品老牛| 国产女精品视频网站免费| 国产老肥熟一区二区三区| 国产精品视频福利| 欧美性久久久| 国产区二精品视| 国产在线观看精品一区二区三区| 国产日韩欧美中文| 国产主播精品在线| 曰本成人黄色| 亚洲精品极品| 99亚洲视频| 亚洲欧美中文字幕| 欧美在线精品免播放器视频| 久久精品国亚洲| 免播放器亚洲| 欧美日韩岛国| 国产精品视频第一区| 国产在线精品二区| 亚洲国产另类久久精品| 亚洲人线精品午夜| 亚洲视频在线免费观看| 欧美有码在线观看视频| 久久综合国产精品| 欧美精品久久天天躁| 国产精品电影网站| 国内免费精品永久在线视频| 亚洲激情综合| 亚洲婷婷综合色高清在线| 欧美一区二区精品| 欧美不卡激情三级在线观看| 欧美日韩国产美| 国产视频在线观看一区二区三区| 一区在线影院| 亚洲天堂网站在线观看视频| 久久国产视频网| 欧美日韩成人在线| 国产一区二区黄色| 夜夜狂射影院欧美极品| 欧美一区二区三区久久精品| 免费人成精品欧美精品| 国产精品无码专区在线观看| 亚洲国产精品传媒在线观看 | 亚洲一区二区在线播放| 蜜桃久久精品乱码一区二区| 国产精品分类| 亚洲精选91| 久久一区二区三区四区| 国产精品免费一区豆花| 亚洲人成高清| 久久精品国产一区二区三区免费看 | 国产日韩欧美中文| 99国产精品久久久久老师| 久久久999精品免费| 国产精品国产福利国产秒拍| 亚洲国内精品在线| 久久国内精品自在自线400部| 欧美日本精品| 在线观看国产精品网站| 欧美一区2区三区4区公司二百| 欧美乱妇高清无乱码| 伊人影院久久| 久久九九热免费视频| 国产精品免费小视频| 99精品国产在热久久| 免费h精品视频在线播放| 国产亚洲欧美一区二区| 亚洲在线免费观看| 国产精品成人v| av成人免费观看| 欧美激情影院| 亚洲国产精品一区制服丝袜 | 国产精品v日韩精品| 亚洲人成小说网站色在线 | 久久婷婷影院| 红桃视频欧美| 久久久久久色| 精品69视频一区二区三区| 欧美综合第一页| 国产日产精品一区二区三区四区的观看方式 | 老巨人导航500精品| 精品51国产黑色丝袜高跟鞋| 欧美一区深夜视频| 国产一二三精品| 久久av一区| 精品不卡一区二区三区| 久久亚洲不卡| 亚洲国产一区二区三区在线播| 男女激情视频一区| 亚洲国产日韩一级| 欧美日韩国产亚洲一区| 99精品国产热久久91蜜凸| 欧美三区在线观看| 亚洲专区一区二区三区| 国产精品麻豆va在线播放| 亚洲中字在线| 国产一区导航| 欧美成人影音| 一区二区三区四区国产精品| 国产精品久久久久天堂| 欧美伊人久久久久久午夜久久久久| 国产日韩精品一区观看| 久久香蕉国产线看观看av| 亚洲人成人一区二区在线观看| 欧美色中文字幕| 欧美在线|欧美|