亚洲十八**毛片_亚洲综合影院_五月天精品一区二区三区_久久久噜噜噜久久中文字幕色伊伊 _欧美岛国在线观看_久久国产精品毛片_欧美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电影院在线看| а√资源新版在线天堂| 国产精品一区毛片| 欧美一区二区视频在线观看2022| 精品不卡一区| 中文字幕第12页| 日韩av不卡在线观看| av免费在线网站| 欧美日韩美女一区二区| 国产美女av一区二区三区| 欧美高清dvd| 日韩成人一级片| 伊人在我在线看导航| 亚洲欧洲综合另类在线| 成人网18免费网站| 中文官网资源新版中文第二页在线观看| 青青草97国产精品免费观看| 欧美电影免费观看网站| 日韩一区二区三区在线视频| 久久精品免费观看| 久草综合在线| 天天操夜夜操免费视频| 国产原创一区二区| 精品视频在线你懂得| 欧美性猛片xxxxx免费中国| 久久网站热最新地址| av官网在线播放| 天天爽夜夜爽夜夜爽精品视频| 福利精品在线| 麻豆福利视频| 中文字幕一区二区三区在线播放| 久久天天久久| 欧美狂野另类xxxxoooo| 2001个疯子在线观看| 成人免费看黄网址| 一本色道**综合亚洲精品蜜桃冫| 欧美在线不卡| 黄色免费在线网站| 夜夜爽夜夜爽精品视频| 这里只有精品在线| 深夜av在线| 黄污在线观看| 亚洲自拍偷拍图区| 欧美日韩国产一区精品一区| 筱崎爱全乳无删减在线观看 | 国产另类xxxxhd高清| 欧美拍拍视频| 欧美日韩亚洲视频一区| 国产精品1024| 激情五月***国产精品| 国产精品色在线网站| 国模私拍一区二区国模曼安| 欧美写真视频一区| 精品久久国产老人久久综合| 精品久久久一区| 亚洲色图另类专区| 99国产一区二区三精品乱码| 久久精品毛片| 在线免费高清一区二区三区| 色综合久久中文| 风间由美性色一区二区三区四区| 欧美大胆性生话| 欧美粗大gay| 成人一级视频| 国产综合色激情| 成人在线免费电影网站| 亚洲深夜视频| 成人福利av| 日本精品久久| 国产精品22p| 国产一区二区三区探花| 任你躁在线精品免费| 岳的好大精品一区二区三区| 欧美成人午夜77777| 国产人妖ts一区二区| 久操国产精品| 午夜国产精品视频| 久久国产精品亚洲人一区二区三区 | 国产精品资源网| 91在线观看一区二区| 国产精品伦理在线| 色综合亚洲欧洲| 一本到不卡免费一区二区| 2020中文字幕在线| 国产精品毛片高清在线完整版| 欧美日韩亚洲综合在线| 午夜电影网亚洲视频| 欧美成人综合网站| 国产午夜精品一区理论片| 日韩在线伦理| 麻豆mv在线看| 国产精品正在播放| 国产一区二区按摩在线观看| 2欧美一区二区三区在线观看视频| 一区二区三区四区在线播放| 一本久久综合亚洲鲁鲁五月天 | 91.com在线观看| 一区二区三区视频在线观看视频| 亚洲成人激情社区| 国产高清不卡一区| 亚洲品质自拍视频| 制服丝袜影音| 黄污视频在线观看| 四虎影视成人精品国库在线观看| 999久久久亚洲| 久久综合九色综合97婷婷女人| 欧美电影《轻佻寡妇》| 国产香蕉视频在线观看| 成人直播视频| 亚洲午夜激情在线| 亚洲欧美激情一区二区| 欧美mv日韩mv国产网站| 香蕉伊大人中文在线观看| 亚洲精品视频在线| 成人影院在线免费观看| 欧美三级第一页| 婷婷综合五月天| 麻豆蜜桃在线| 在线日韩中文| 国产三级久久久| 欧美一级理论片| 噜噜噜在线观看播放视频| 国产精伦一区二区三区| 99久久er热在这里只有精品66| 久操视频在线播放| 久久久久久久久久久黄色| 日韩视频在线永久播放| 成人一级福利| 伊人久久大香线蕉综合四虎小说| 国产精品久久久久久久久久久久久久久 | 日本在线不卡视频| 成人免费在线观看网站| 国产极品久久久久久久久波多结野| 久久精品国产精品亚洲红杏| 天天弄天天操| 欧美一级淫片| 亚洲中国最大av网站| 一个人www视频在线免费观看| 国产精品自拍一区| 夜夜操 天天摸| 国产精品迅雷| 91影院在线观看| 在线中文字幕观看| 丝袜国产日韩另类美女| 国产九一视频| 波多野结衣一区| 日韩精品一区二区三区在线| 欧美综合影院| 亚洲色图制服诱惑| h视频网站在线观看| 国产在线播精品第三| 黄色小视频在线观看| 欧美日韩少妇| 欧美高清性hdvideosex| 亚洲澳门在线| 91精选福利| 中国成人一区| 亚洲成a人v欧美综合天堂麻豆| 天天噜天天色| 日韩精品亚洲专区| 精品九九久久| 亚洲综合色婷婷在线观看| 欧美日韩一区二区免费在线观看| 国内精品视频| 欧美日韩中字一区| 午夜一级久久| 成人三级黄色免费网站| 国产嫩草影院久久久久| 成人亚洲精品| 羞羞在线观看网站| 日本不卡的三区四区五区| 国产激情在线视频| 欧美日韩一区二区三区| 亚洲最新色图| 性欧美video高清bbw| 欧美性xxxx在线播放| 国产亚洲在线| 成人免费福利| 国外av网站| 国产精品灌醉下药二区| 天天天综合网| 偷拍自拍在线看| 欧美mv日韩mv| 国产精品视频一二三| 一区二区中文字幕在线观看| 在线播放evaelfie极品| 亚洲视频在线观看三级| 国产日韩欧美| 一区二区网站| 国产拍揄自揄精品视频麻豆| 羞羞视频在线观看免费| 色www精品视频在线观看| 国产成a人无v码亚洲福利| 女厕盗摄一区二区三区| 色悠悠亚洲一区二区| 在线成人动漫av|