精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

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无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      国模少妇一区二区三区| 免费xxxx性欧美18vr| 久久人人爽人人爽| 日韩一区二区视频在线观看| 欧美日韩国产区一| 欧美日韩精品一区视频| 在线不卡一区二区| 欧美一区二区三区思思人| 在线播放视频一区| 精品国产乱码久久久久久闺蜜| 欧美一区二区三区在线看| 日韩欧美aaaaaa| 精品国产伦一区二区三区观看体验 | 91视频观看视频| www.亚洲免费av| 色婷婷av久久久久久久| 欧美猛男超大videosgay| 欧美一级免费观看| 日本一区二区三级电影在线观看 | av在线不卡电影| 一本大道久久精品懂色aⅴ| 在线视频一区二区免费| 91精品婷婷国产综合久久竹菊| 日韩精品一区二区三区swag| 久久综合色8888| 亚洲欧洲韩国日本视频 | 精品国产乱码久久久久久蜜臀| 国产人成亚洲第一网站在线播放| 亚洲乱码中文字幕| 久久精工是国产品牌吗| 成人av影院在线| 欧美日韩激情一区二区三区| 久久久九九九九| 亚洲一区二区综合| 国产精品资源在线看| 在线亚洲精品福利网址导航| 精品国产凹凸成av人导航| 有坂深雪av一区二区精品| 精品写真视频在线观看| 色综合久久综合| 精品国产欧美一区二区| 亚洲午夜羞羞片| 不卡一区二区三区四区| 日韩欧美的一区| 亚洲精品免费在线播放| 国产裸体歌舞团一区二区| 精品视频在线视频| 国产精品久久久久久久裸模| 麻豆久久一区二区| 欧美色视频在线观看| 国产目拍亚洲精品99久久精品| 奇米色一区二区| 欧美午夜精品久久久久久孕妇| 国产精品免费人成网站| 国内精品国产三级国产a久久| 欧美吞精做爰啪啪高潮| 国产精品国产三级国产普通话蜜臀| 蜜桃视频在线一区| 欧美日韩在线一区二区| 亚洲欧美日韩一区二区三区在线观看| 精品亚洲aⅴ乱码一区二区三区| 欧美日本乱大交xxxxx| 一区二区三区中文字幕| 不卡一区二区在线| 中文字幕免费不卡在线| 国产成人在线观看| 26uuu亚洲婷婷狠狠天堂| 乱中年女人伦av一区二区| 欧美日韩在线三级| 亚洲国产精品一区二区久久恐怖片| 不卡的av电影| 中文字幕在线免费不卡| 91丨九色porny丨蝌蚪| 国产精品国产三级国产普通话蜜臀 | 亚洲国产精品人人做人人爽| 91精彩视频在线| 亚洲黄色av一区| 在线观看不卡一区| 午夜欧美在线一二页| 67194成人在线观看| 亚洲va在线va天堂| 欧美一区午夜视频在线观看| 日韩精品一区第一页| 欧美一区二区三区思思人| 蜜桃在线一区二区三区| 精品播放一区二区| 国产不卡一区视频| 日韩一区有码在线| 欧美少妇bbb| 日本成人在线网站| 国产亚洲成年网址在线观看| 国产不卡在线视频| 亚洲激情在线播放| 91精品国产综合久久久久久漫画 | 久久久亚洲午夜电影| 成人不卡免费av| 樱花草国产18久久久久| 欧美高清视频一二三区 | 亚洲国产日韩av| 欧美白人最猛性xxxxx69交| 国产美女久久久久| 亚洲欧美另类久久久精品| 欧美视频在线一区二区三区| 蜜桃久久av一区| 国产精品成人免费| 欧美一区二区黄色| 99久久精品国产精品久久| 午夜私人影院久久久久| 国产午夜精品福利| 91国偷自产一区二区三区成为亚洲经典| 日韩在线一二三区| 中文字幕日本乱码精品影院| 欧美日韩综合色| 成人小视频在线| 奇米色一区二区| 亚洲精品第1页| 日韩精品中文字幕在线不卡尤物| thepron国产精品| 麻豆成人91精品二区三区| 成人欧美一区二区三区在线播放| 日韩欧美亚洲国产精品字幕久久久| 国产91对白在线观看九色| 爽好多水快深点欧美视频| 中文字幕一区在线| 久久中文娱乐网| 欧美一区二区三区系列电影| 色综合色综合色综合色综合色综合| 极品少妇xxxx精品少妇偷拍| 亚洲综合无码一区二区| 欧美激情中文字幕| 精品国产免费人成电影在线观看四季| 91成人在线精品| 成人黄色软件下载| 国产精品一区在线观看乱码| 美女在线视频一区| 石原莉奈在线亚洲二区| 亚洲与欧洲av电影| 亚洲美女免费在线| 国产精品女上位| 久久久一区二区| 欧美大胆人体bbbb| 91精品国产麻豆| 欧美高清你懂得| 欧美日韩国产高清一区二区 | 日韩欧美国产午夜精品| 欧美日韩国产综合一区二区 | 欧美在线三级电影| av在线这里只有精品| 成人手机在线视频| 风间由美性色一区二区三区| 国产精品一区不卡| 国产成人综合网站| 高清久久久久久| 国产91丝袜在线观看| 成人黄色综合网站| 不卡的av中国片| 色网站国产精品| 在线观看视频一区二区| 欧美日韩色一区| 欧美丰满高潮xxxx喷水动漫| 91精品国产综合久久精品性色| 91超碰这里只有精品国产| 欧美一区二区在线不卡| 欧美一区二区黄色| 久久男人中文字幕资源站| 久久久精品影视| 国产精品视频在线看| 亚洲欧美日韩一区| 亚洲www啪成人一区二区麻豆| 日本aⅴ精品一区二区三区 | 亚洲免费在线视频| 亚洲五码中文字幕| 久久国产夜色精品鲁鲁99| 狠狠久久亚洲欧美| thepron国产精品| 欧美日韩亚洲不卡| 久久婷婷色综合| 亚洲欧美乱综合| 秋霞成人午夜伦在线观看| 国产乱妇无码大片在线观看| 99re视频精品| 88在线观看91蜜桃国自产| 久久嫩草精品久久久精品一| 亚洲丝袜美腿综合| 免费观看成人鲁鲁鲁鲁鲁视频| 国产乱码精品一区二区三区五月婷| 97精品久久久久中文字幕| 这里只有精品免费| 国产精品对白交换视频| 天天影视涩香欲综合网| 成人国产精品免费观看| 88在线观看91蜜桃国自产| 国产欧美精品一区aⅴ影院 | 色美美综合视频| 2021中文字幕一区亚洲| 亚洲黄色av一区| 国产精品一级在线| 欧美老女人第四色| 中文字幕中文乱码欧美一区二区| 免费成人在线播放|