日本欧洲视频一区_国模极品一区二区三区_国产熟女一区二区三区五月婷_亚洲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

              亚洲欧美日韩爽爽影院| 久久精品国产99精品国产亚洲性色 | 亚洲视频在线观看免费| 国产乱码精品一区二区三区av| 欧美激情一二区| 久久亚洲欧美国产精品乐播| 欧美一区2区三区4区公司二百| 日韩小视频在线观看专区| 亚洲高清自拍| 一区免费在线| 在线观看亚洲视频| 精品动漫一区二区| 最新国产精品拍自在线播放| 1024成人网色www| 国语精品一区| 国产一区久久久| 国产日产高清欧美一区二区三区| 久久资源av| 91久久久久久| 欧美视频官网| 欧美精品久久久久久| 亚洲视频一区在线观看| 一区二区三区在线观看欧美| 欧美日韩亚洲不卡| 欧美一区午夜视频在线观看| 亚洲一级在线| 在线中文字幕不卡| 黄色国产精品一区二区三区| 国产精品一区二区女厕厕| 欧美成人免费小视频| 欧美在线播放视频| 亚洲视频在线二区| 久久九九精品99国产精品| 99爱精品视频| 激情文学一区| 一本久道久久久| 欧美一区二区三区视频在线观看| 亚洲欧美一区在线| 免费在线播放第一区高清av| 这里只有精品视频| 亚洲一二三区精品| 欧美日韩国产精品| 国内外成人免费视频| 欧美激情第4页| 欧美风情在线| 欧美视频精品在线观看| 男人的天堂亚洲| 另类专区欧美制服同性| 老司机午夜精品| 欧美日本亚洲韩国国产| 欧美午夜宅男影院| 国产亚洲免费的视频看| 激情六月婷婷综合| 亚洲福利视频在线| 国精产品99永久一区一区| 国产香蕉97碰碰久久人人| 久久精品国产一区二区三区| 亚洲美女精品久久| 午夜亚洲福利| 老司机精品导航| 欧美成年网站| 国产一区二区三区在线免费观看 | 亚洲精品女人| 欧美在线视频免费观看| 久久电影一区| 国产精品毛片| 国产一区二区三区在线观看视频 | 亚洲深夜福利网站| 久久夜色精品国产欧美乱极品| 免费观看亚洲视频大全| 欧美日本网站| 亚洲精品在线二区| 欧美成人在线免费观看| 国内精品嫩模av私拍在线观看 | 亚洲少妇最新在线视频| 欧美极品一区| 亚洲国产日日夜夜| 欧美成人资源网| 在线视频成人| 免费91麻豆精品国产自产在线观看| 欧美午夜精品一区二区三区| 亚洲午夜精品一区二区| 狂野欧美激情性xxxx| 国产中文一区二区| 欧美激情第一页xxx| 亚洲人妖在线| 国产精品尤物| 久久久一区二区| 在线一区视频| 日韩手机在线导航| 国产一区二区三区在线免费观看 | 黄色影院成人| 欧美另类女人| 亚洲女同精品视频| 亚洲国产精品小视频| 欧美视频在线观看一区二区| 欧美一区二区三区在线| 一区在线观看视频| 欧美三级视频在线播放| 亚洲视频免费在线| 91久久久久久国产精品| 国产女主播一区二区三区| 免费观看成人www动漫视频| 亚洲一区二区三区激情| 亚洲电影第1页| 伊人成人网在线看| 国内精品久久久久久| 国产精品影院在线观看| 国产精品美女久久久久久2018| 午夜精品久久久久久久99热浪潮 | 亚洲精品小视频在线观看| 国内精品久久久久久久果冻传媒 | 国产精品theporn| 欧美另类综合| 欧美午夜在线视频| 欧美日韩国产一区二区三区地区| 久久久久综合网| 欧美+日本+国产+在线a∨观看| 另类春色校园亚洲| 欧美va亚洲va日韩∨a综合色| 久久久不卡网国产精品一区| 欧美亚洲视频一区二区| 久久激五月天综合精品| 国产精品99久久不卡二区| 亚洲综合精品四区| 久久久久久午夜| 欧美日韩日日夜夜| 国产欧美在线视频| 日韩亚洲视频| 久久精品成人一区二区三区| 午夜精品久久久久久久久久久久久 | 亚洲一区免费| 一区二区成人精品| 亚洲一区二区三区在线观看视频| 久久国产免费| 欧美国产视频日韩| 久久av一区二区三区漫画| 午夜精品视频| 久久先锋资源| 国精品一区二区| 亚洲欧美日韩国产成人| 欧美视频免费在线观看| 国际精品欧美精品| 一区二区欧美视频| 欧美日韩国产二区| 亚洲日本免费电影| 欧美日韩午夜在线视频| 亚洲欧美成人| 亚洲第一主播视频| 欧美日韩综合不卡| 欧美一区二区三区四区在线观看| 国产精品麻豆成人av电影艾秋| 亚洲综合国产激情另类一区| 国内外成人免费视频| 欧美波霸影院| 性欧美18~19sex高清播放| 国产在线视频欧美| 欧美午夜寂寞影院| 久久久蜜桃精品| 亚洲午夜在线| 好吊妞这里只有精品| 国产精品美女| 欧美噜噜久久久xxx| 久久精品视频免费| 午夜欧美大片免费观看| 亚洲欧洲一区二区三区在线观看| 欧美日韩在线观看一区二区三区 | 精品不卡在线| 国产午夜精品视频免费不卡69堂| 欧美日韩在线大尺度| 欧美国产在线观看| 六月丁香综合| 欧美精品手机在线| 欧美精品一区二区三区高清aⅴ| 久久午夜av| 久久久精品免费视频| 麻豆精品一区二区av白丝在线| 性欧美xxxx大乳国产app| 亚洲永久字幕| 久久精品视频在线播放| 另类成人小视频在线| 欧美紧缚bdsm在线视频| 欧美日韩在线观看一区二区| 欧美日本乱大交xxxxx| 欧美午夜片在线观看| 国产亚洲亚洲| 中文欧美日韩| 久久国产主播精品| 欧美色图一区二区三区| 国产欧美一区二区精品秋霞影院| 一区二区三区自拍| 亚洲一区二区三区在线视频| 久久九九热免费视频| 欧美日韩一区高清| 亚洲第一在线| 久久久久久一区| 国产欧美精品在线播放| 亚洲美女中文字幕| 欧美精品久久99久久在免费线| 国产精品夜色7777狼人|