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

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成人精品日韩一区18p

              9000px;">

                        黑人精品一区二区| 免费在线看黄网址| 国产精品久久久久久久妇| av中文字幕播放| 国产高清视频网站| 精品人妻久久久久一区二区三区| 久久黄色片网站| 日批视频在线看| 亚洲成人久久精品| 51精品免费网站| 国产xxxxxxxxx| 精品久久久久久久久久久久久久久久久久 | 伊人网站在线观看| 最近中文字幕免费观看| www.久久久久久久| 国产黄色片网站| 97人妻精品一区二区三区| 久久艹这里只有精品| 国产农村妇女精品一区| 特黄视频免费看| 香蕉av在线播放| 国产又黄又爽又色| 老熟妇一区二区三区| 视频免费1区二区三区| 中文字幕一区二区三区四区在线视频| 亚洲一区二区中文字幕在线观看| 国产精品国产精品国产| 极品久久久久久久| 日韩综合第一页| 91在线视频在线观看| 精品无码人妻一区二区三| 日本人妻丰满熟妇久久久久久| 日本美女视频网站| 制服 丝袜 综合 日韩 欧美| 亚洲精品视频三区| 久久精品视频7| 五月婷婷丁香色| av中文字幕在线免费观看| 精国产品一区二区三区a片| 日本熟伦人妇xxxx| 91精产国品一二三| 久久久久久国产精品免费播放| 日韩不卡在线播放| av男人天堂网| 日本女人性生活视频| 亚洲一区二区自偷自拍| 可以免费在线观看的av| 亚洲天堂国产精品| 精品视频第一页| 亚洲精品国产精品国| 久久久久亚洲av无码专区体验| 在线观看中文字幕av| 男女污污的视频| 国产黄色片免费看| 五月天丁香花婷婷| 国产一级二级三级| 亚洲第一色网站| 久久久香蕉视频| www.久久久久久| 五月天丁香视频| 久久高清内射无套| av中文字幕观看| 午夜国产在线视频| 久久噜噜色综合一区二区| 99久久99久久精品国产| 少妇献身老头系列| 精品无码一区二区三区蜜臀| 91精品人妻一区二区三区蜜桃2| 欧美一级特黄aaaaaa| 国产男男chinese网站| 亚洲香蕉中文网| 天天干天天草天天射| 久久久久久久久久成人| 国产白嫩美女无套久久| 亚洲乱妇老熟女爽到高潮的片| 日日夜夜狠狠操| 精品无码免费视频| 国产精品毛片一区视频播 | 97超碰人人看| 伊人免费视频二| 日韩乱码一区二区三区| 精品人妻一区二区三区三区四区 | 成年人小视频在线观看| 亚洲精品视频三区| 午夜成人鲁丝片午夜精品| 免费看黄色一级大片| 国产男男chinese网站| 少妇精品无码一区二区免费视频| 精品国产乱码久久久久久蜜臀网站 | 免费毛片视频网站| 黄色av网址在线| 国产福利在线观看视频| 91av免费观看| 亚洲欧美视频二区| 在线观看日韩一区二区| 四虎国产成人精品免费一女五男| 美女被爆操网站| 久久久久久久久久久久久久免费看| 国产成人精品综合久久久久99| 91香蕉国产视频| 一二三级黄色片| 亚洲日本在线播放| 亚洲影院一区二区三区| 亚洲欧美精品久久| 中文字幕在线看高清电影| 亚洲av无码一区二区乱子伦| 婷婷伊人五月天| 手机在线观看日韩av| 天堂网中文在线观看| 无码人妻aⅴ一区二区三区| 午夜激情av在线| 中文字幕精品无码一区二区| 中文字幕一区二区人妻电影| 中文字幕丰满乱子伦无码专区| 在线观看国产一级片| 最新在线中文字幕| 亚洲精品91天天久久人人| 亚洲美女爱爱视频| 99热这里只有精品5| 懂色av中文字幕| 国产视频精品免费| 久久久久亚洲视频| 日韩欧美亚洲视频| 一区二区三区午夜| 亚洲精品乱码久久久久久蜜桃欧美 | 野战少妇38p| www中文在线| 国语对白在线播放| 男女免费视频网站| 天堂在线中文视频| 中文天堂在线视频| 91精品国产综合久| 国产伦精品一区二区三区精品 | 中文字幕在线天堂| 99热精品在线播放| 国产性猛交╳xxx乱大交| 久久精品一二区| 少妇激情一区二区三区视频| 五月婷婷在线观看视频| 亚洲综合av在线播放| 成人免费区一区二区三区| 精品久久久99| 天天爱天天操天天干| 亚洲天堂av网站| 国产探花在线免费观看| 人妻精品一区二区三区| 男人的天堂一区| 又黄又色的网站| 国产吃瓜黑料一区二区| 免费观看国产精品| 一区二区三区午夜| 国产黄a三级三级看三级| 麻豆精品国产传媒| 中文字幕 亚洲视频| 国产xxxx视频| 日韩av一二三区| 夜夜爽妓女8888视频免费观看| 国产三级漂亮女教师| 日韩免费黄色片| 一级久久久久久| 久久一区二区电影| 亚洲高清视频网站| 国产一区二区播放| 亚洲18在线看污www麻豆| 国产白嫩美女无套久久| 色屁屁草草影院ccyy.com| www.国产麻豆| 视频一区 中文字幕| 99国产精品免费| 日本视频www色| www中文在线| 婷婷激情小说网| 国产精品久久久视频| 无码人妻一区二区三区线| 国产乱叫456| 中文字幕色网站| 麻豆疯狂做受xxxx高潮视频| 亚洲欧美黄色片| 日本精品一二三区| 高清一区在线观看| 亚洲第一中文av| 久久成人小视频| 91在线公开视频| 午夜视频www| 精品亚洲永久免费| 91成人福利视频| 日韩乱码在线观看| 国产亚洲精品成人| 亚洲激情 欧美| 日韩精品一卡二卡| 国产无套内射又大又猛又粗又爽 | 成人午夜福利视频| 性感美女一区二区三区| 精品美女www爽爽爽视频| 亚洲久久在线观看| 特级西西444www大精品视频免费看| 国产一区二区在线视频观看 | 中文字幕 人妻熟女| 日本成人午夜影院| 精品少妇爆乳无码av无码专区|