亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美va在线观看_成人黄网大全在线观看_日韩精品一区二区三区中文_亚洲一二三四区不卡

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

    av不卡在线| 日韩国产精品91| 日本在线不卡视频| 成人动漫一区二区| 亚洲一二三专区| 99爱免费视频| 蝌蚪视频在线播放| 99久久精品一区二区成人| 综合国产视频| 日本亚洲一区二区| 亚洲欧美在线视频| 精品久久久久久久久久久久久久久 | 中文在线аv在线| 国产不卡视频在线播放| **性色生活片久久毛片| 欧美大片日本大片免费观看| 男人天堂手机在线| 国产精品自在| 日韩精品高清不卡| 依依成人综合视频| 亚洲电影欧美电影有声小说| 在线观看v片| 欧美88av| 国产精品色在线观看| 天天色av.com| 亚洲插插视频| 国产精品7m凸凹视频分类| 国产91综合一区在线观看| 在线观看av不卡| 1024视频在线| 国产99久久| www.欧美.com| 51精品秘密在线观看| 人交獸av完整版在线观看| 欧洲毛片在线视频免费观看| 99这里都是精品| 欧美成人性福生活免费看| а√在线中文网新版地址在线| 日韩在线观看一区 | 性欧美69xoxoxoxo| 国产女同互慰高潮91漫画| 播九公社成人综合网站| 黑人巨大亚洲一区二区久 | 日日草天天草| 蜜桃av在线| 亚洲精品精选| 姬川优奈aav一区二区| 精品久久av| jiujiure精品视频播放| 国产欧美va欧美不卡在线| 麻豆电影传媒二区| 中文字幕一区日韩精品 | 久久精品视频观看| 97精品国产| 午夜欧美巨大性欧美巨大| 国产欧美精品久久| 高清不卡一区二区| 天天操夜夜逼| 国产精品久久久久久久久久久久久久久 | 亚洲成a人在线观看| 77导航福利在线| 91久久电影| 国产精品福利一区二区三区| 最近中文字幕在线| 精品精品99| 亚洲婷婷综合色高清在线| 免费在线一级视频| 亚洲精品888| 欧美日韩亚洲系列| 永久免费毛片在线播放| 日韩国产在线观看一区| 日韩欧美三级在线| 涩涩屋成人免费视频软件| 99精品欧美一区二区三区小说 | 国产欧美久久久精品影院| 亚洲精品男人| 亚洲国产精品久久久久蝴蝶传媒| 午夜视频在线观看一区二区| 特级毛片在线| 韩国成人福利片在线播放| 成人手机在线| 成人av动漫在线观看| 欧美日韩国产精品一区二区不卡中文| zzzwww在线看片免费| 国产91丝袜在线播放| 最全影音av资源中文字幕在线| 99国产精品免费视频观看| 在线欧美日韩国产| 久久的色偷偷| 亚洲美女屁股眼交| 刘亦菲一区二区三区免费看| 成人免费视频国产在线观看| 免费一级毛片在线观看| 亚洲一区二区三区四区五区午夜 | 国产色播av在线| 国产精品一区二区在线播放| 在线色视频观看| 999亚洲国产精| 精品少妇一区二区三区视频免付费| 亚州综合一区| 在线精品视频一区二区三四| 成人国产一区二区三区精品麻豆| 成人av电影在线观看| 国产高清自拍视频在线观看| 日产国产高清一区二区三区| 情趣网站在线观看| 美女久久网站| 中文在线资源在线| 日韩制服丝袜av| 亚洲综合色视频在线观看| 久久aⅴ国产紧身牛仔裤| 黄色免费看片| 99视频+国产日韩欧美| 成年人羞羞的网站| 99在线观看免费视频精品观看| 久草一本av| 国产一区二区高清| 免费男女羞羞的视频网站主页在线观看| 亚洲第一黄色| 亚洲高清成人影院| 狠狠色综合色综合网络| 日本中文字幕视频在线| 成人三级在线视频| 中文字幕在线官网| 亚洲美女在线一区| 国产成人一二片| 欧美性极品少妇| 综合五月婷婷| 黄动漫在线看| 精品一区二区三区在线播放视频| 免费黄色在线| 国产欧美日韩在线观看| 福利一区二区三区视频在线观看| 亚洲一级在线观看| 少妇精品久久久一区二区三区| 精品国产人成亚洲区| 国产日韩亚洲欧美精品| 成人资源www网在线最新版| 99久久婷婷国产| 另类中文字幕国产精品| 亚洲一区二区av在线| 日韩中出av| 麻豆视频免费看| 免费在线看一区| 激情av在线| 色综合久久久久| 久久精品一区二区三区中文字幕| 香蕉av在线| 丰满放荡岳乱妇91ww| 在线天堂中文资源最新版| 亚洲电影中文字幕在线观看| 成人一区而且| 天海翼一区二区三区四区在线观看 | 美洲天堂一区二卡三卡四卡视频| 中文字幕免费高清电视剧网站在线观看 | 色www永久免费视频首页在线| 亚洲色图一区二区| 欧美三级伦理在线| 国产三级在线免费观看| 国产喷白浆一区二区三区| 9l视频自拍蝌蚪9l视频成人| 五月婷婷导航| aaa亚洲精品| 日韩在线电影| 欧美白人最猛性xxxxx69交| 狠狠久久亚洲欧美| 88xx成人网| 精品国产91洋老外米糕| 国产一区二区导航在线播放| 亚洲一区二区小说| 精品国产伦理网| 成人免费高清视频在线观看| 日韩精品一区二区三区免费视频| 精品裸体舞一区二区三区| 国产成人精品免费| 精品丝袜久久| 视频国产在线观看| 亚洲欧美激情在线| 黄色av日韩| 欧美日韩电影免费看| 精品美女在线播放| 久久久久免费观看| 久久精品播放| 好看的中文字幕在线播放| 欧美日韩精品一区二区三区四区| 久久99精品久久只有精品| 99er精品视频| 一个人免费观看视频www在线播放| 亚洲人成7777| 亚洲永久免费精品| 国产精品黄色片| 成人xxxx| 亚洲成av人影院| 日韩国产一区二| 一区中文字幕电影| 国产小视频在线| 91国偷自产一区二区开放时间 | 欧美群妇大交群的观看方式| 九九久久精品视频| 美女一区二区在线观看|