久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    国产精品国产三级国产专区51| 污污网站免费看| 精品中文字幕av| 成人手机在线播放| 手机视频在线观看| 欧美 日韩 国产一区| 日韩av一二三四区| 久久久久久免费看| 91国内在线播放| 久久久精品三级| 国产亚洲欧美在线视频| 男女激情免费视频| 成年丰满熟妇午夜免费视频 | 午夜久久福利视频| 91人人澡人人爽人人精品| 99蜜桃臀久久久欧美精品网站| 日本手机在线视频| 大西瓜av在线| 国产freexxxx性播放麻豆| 国产乱人伦精品一区二区三区| 久久久久久久免费视频| 91免费视频黄| 欧美少妇在线观看| 免费的一级黄色片| 97超碰国产精品| 无码日本精品xxxxxxxxx| 中文精品无码中文字幕无码专区| 国产精品免费看久久久无码| av日韩在线看| 国产白丝袜美女久久久久| 国产黄色一级网站| 97超碰国产精品| 无码粉嫩虎白一线天在线观看| 一卡二卡三卡视频| 欧美激情 国产精品| 欧美黄色免费影院| 日本久久久久久久久久久久| 国产3p在线播放| 秋霞在线一区二区| 2019日韩中文字幕mv| 欧美日韩黄色一级片| 国产熟女高潮视频| 国产视频1区2区3区| 懂色av一区二区三区四区五区| 樱空桃在线播放| 丁香婷婷综合激情| 中国丰满人妻videoshd| 性chinese极品按摩| 糖心vlog在线免费观看| www.射射射| 色综合天天色综合| 久久久久久久久久久久久国产| 六月婷婷在线视频| 亚洲一级免费观看| 992tv成人免费观看| 国产精品沙发午睡系列| 天天爱天天操天天干| 日本女人高潮视频| 国产男女在线观看| 天天综合天天添夜夜添狠狠添| 蜜桃视频一区二区在线观看| 色综合av综合无码综合网站| 亚洲涩涩在线观看| 欧美,日韩,国产在线| 午夜视频在线网站| 激情五月宗合网| 午夜激情影院在线观看| av免费观看大全| 国产一区二区在线观看免费视频| 青草网在线观看| 精品999在线| www.avtt| 久久久久久久高清| 国内外成人激情视频| 国产高清精品软男同| 日本在线观看a| 日本a级片在线观看| 亚洲精品高清无码视频| 国产精品av免费观看| 国产免费999| 男人插女人视频在线观看| 午夜免费看毛片| www.爱色av.com| 日韩精品第1页| 国产喷水theporn| 欧美牲交a欧美牲交| 国产三级中文字幕| 五月婷婷丁香色| 国产成人a亚洲精v品无码| 国产精品久久久影院| 亚洲激情在线看| 国产女女做受ⅹxx高潮| www污在线观看| 亚洲av毛片在线观看| 成年人在线观看视频免费| 国产精品久久中文字幕| www.-级毛片线天内射视视| 91制片厂毛片| av天堂永久资源网| 精品无码国产一区二区三区av| 日本一区二区免费高清视频| xxxx一级片| 成人综合视频在线| www.av毛片| 日本男女交配视频| 色婷婷777777仙踪林| 五月天色婷婷综合| 毛片毛片毛片毛| 亚洲77777| 亚洲福利精品视频| 国产精品无码一本二本三本色| 阿v天堂2017| 中国丰满熟妇xxxx性| 国产在线无码精品| 青春草在线视频免费观看| theporn国产精品| 亚洲美女爱爱视频| 亚洲美女性囗交| 亚洲综合激情视频| 美女在线视频一区二区 | 奇米影视四色在线| 婷婷激情四射五月天| 国产三级日本三级在线播放| 国产真实乱子伦| 99热成人精品热久久66| 熟妇人妻va精品中文字幕 | 午夜视频在线观| 精品久久久99| 国产性生活一级片| 午夜免费视频网站| 麻豆一区二区三区在线观看| 成人在线观看毛片| 日本免费a视频| www.av片| 成人在线观看黄| 看欧美ab黄色大片视频免费| 91日韩视频在线观看| 欧美女同在线观看| 色婷婷激情视频| 成人毛片100部免费看| 日本黄色片一级片| 男人日女人逼逼| 无码少妇一区二区三区芒果| 国产九九热视频| 国内精品国产三级国产aⅴ久| 欧美a级黄色大片| 天天夜碰日日摸日日澡性色av| 日韩免费毛片视频| 中文字幕免费高清在线| 中文字幕色呦呦| 精品久久久久久久久久中文字幕| 能在线观看的av网站| 欧美激情国内自拍| a级免费在线观看| heyzo国产| 性生生活大片免费看视频| 在线观看17c| 国产成人无码一二三区视频| 一女二男3p波多野结衣| 国产成人免费高清视频| 黄色免费视频大全| 天堂在线中文在线| 精品久久久久久无码中文野结衣| 欧美三级午夜理伦三级| av噜噜在线观看| 国产资源在线免费观看| 天堂社区在线视频| 糖心vlog在线免费观看| 日韩精品一区二区三区久久| 亚洲精品性视频| 国产乱子伦精品视频| 苍井空浴缸大战猛男120分钟| 激情图片中文字幕| www.av中文字幕| theporn国产精品| 少妇高潮喷水在线观看| 国产三级生活片| 国产美女网站在线观看| 天天干天天色天天干| 日本在线xxx| 亚洲综合在线一区二区| 精品国产免费av| 免费成人深夜夜行网站视频| 欧美三级午夜理伦三级| 欧洲美女和动交zoz0z| 国产一区视频免费观看| 九一免费在线观看| 五月婷婷丁香综合网| 精品无码国模私拍视频| 天天看片天天操| 欧美成人xxxxx| 91传媒免费视频| 潘金莲激情呻吟欲求不满视频| 无码人妻丰满熟妇区96| 波多野结衣网页| 日韩a在线播放| 欧美交换配乱吟粗大25p| www.亚洲高清| 日韩一级免费在线观看| 成人av在线不卡|