SlideShare a Scribd company logo
1 of 1
Download to read offline
this problem, you will implement the various steps of the DES algorithm (see slide 20 in
CS3.pdf). For testing your implementation, please choose a random message of size not equal to
a multiple of block length (which will require you to account for padding). Show the following
implementations and their outputs on your test message. (a) (10 points) Implement and show the
output of the expansion function (see slide 21 in CS3.pdf). (b) (10 points) Implement the S-box
and show the output (see slide 22). (c) (10 points) Implement the P-box and show the output (see
slide 23). (d) (15 points) Implement the key schedule, and show the output (see 24, 25, 26). (e) (5
points) Rest of the stuff in DES (xorss, etc. You can implement the IP and IP 1 if youd like to,
but it is not really required.) Note that your implementation should work on any input message.
We will test it on a random message of arbitrary length to check if it works, we will also generate
the 56-bit key ourselves. The size of the message we test it on is not guaranteed to be a multiple
of the block length please check for padding, if needed. Per good coding practices, please also
include reasonable error checks (bad key length, null key, etc.)

More Related Content

Similar to this problem, you will implement the various steps of the DES algori.pdf

C programming session 10
C programming session 10C programming session 10
C programming session 10Vivek Singh
 
Class 12 computer sample paper with answers
Class 12 computer sample paper with answersClass 12 computer sample paper with answers
Class 12 computer sample paper with answersdebarghyamukherjee60
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
 
CS 542 -- Query Execution
CS 542 -- Query ExecutionCS 542 -- Query Execution
CS 542 -- Query ExecutionJ Singh
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comWilliamsTaylorza48
 
HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12Aditi Bhushan
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answersRandalHoffman
 
Cosc 2425 project 2 part 1 implement the following c++ code
Cosc 2425   project 2 part 1 implement the following c++ code Cosc 2425   project 2 part 1 implement the following c++ code
Cosc 2425 project 2 part 1 implement the following c++ code AISHA232980
 
Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Radu_Negulescu
 
Exploring Microoptimizations Using Tizen Code as an Example
Exploring Microoptimizations Using Tizen Code as an ExampleExploring Microoptimizations Using Tizen Code as an Example
Exploring Microoptimizations Using Tizen Code as an ExamplePVS-Studio
 
The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 Mahmoud Samir Fayed
 
315925614 cadence-tutorial
315925614 cadence-tutorial315925614 cadence-tutorial
315925614 cadence-tutorialkhaalidkk
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorialNaveen Raj
 
1. Which of the following statements would correctly print out t.pdf
1. Which of the following statements would correctly print out t.pdf1. Which of the following statements would correctly print out t.pdf
1. Which of the following statements would correctly print out t.pdfezzi97
 
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxQuestion 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxIRESH3
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newLast7693
 

Similar to this problem, you will implement the various steps of the DES algori.pdf (20)

BDS_QA.pdf
BDS_QA.pdfBDS_QA.pdf
BDS_QA.pdf
 
C programming session 10
C programming session 10C programming session 10
C programming session 10
 
Class 12 computer sample paper with answers
Class 12 computer sample paper with answersClass 12 computer sample paper with answers
Class 12 computer sample paper with answers
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.com
 
CS 542 -- Query Execution
CS 542 -- Query ExecutionCS 542 -- Query Execution
CS 542 -- Query Execution
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.com
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.com
 
HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12HSc Computer Science Practical Slip for Class 12
HSc Computer Science Practical Slip for Class 12
 
Bis 311 final examination answers
Bis 311 final examination answersBis 311 final examination answers
Bis 311 final examination answers
 
3 algorithm-and-flowchart
3 algorithm-and-flowchart3 algorithm-and-flowchart
3 algorithm-and-flowchart
 
Cosc 2425 project 2 part 1 implement the following c++ code
Cosc 2425   project 2 part 1 implement the following c++ code Cosc 2425   project 2 part 1 implement the following c++ code
Cosc 2425 project 2 part 1 implement the following c++ code
 
Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03
 
Exploring Microoptimizations Using Tizen Code as an Example
Exploring Microoptimizations Using Tizen Code as an ExampleExploring Microoptimizations Using Tizen Code as an Example
Exploring Microoptimizations Using Tizen Code as an Example
 
Ex32018.pdf
Ex32018.pdfEx32018.pdf
Ex32018.pdf
 
The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180 The Ring programming language version 1.5.1 book - Part 175 of 180
The Ring programming language version 1.5.1 book - Part 175 of 180
 
315925614 cadence-tutorial
315925614 cadence-tutorial315925614 cadence-tutorial
315925614 cadence-tutorial
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
 
1. Which of the following statements would correctly print out t.pdf
1. Which of the following statements would correctly print out t.pdf1. Which of the following statements would correctly print out t.pdf
1. Which of the following statements would correctly print out t.pdf
 
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docxQuestion 1Using Powerpoint, Word, Visio or any other graphical e.docx
Question 1Using Powerpoint, Word, Visio or any other graphical e.docx
 
Md university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab newMd university cmis 102 week 4 hands on lab new
Md university cmis 102 week 4 hands on lab new
 

More from ambikacomputer4301

This is neuroscience course (masters) 1. What percent.pdf
This is neuroscience course (masters)  1. What percent.pdfThis is neuroscience course (masters)  1. What percent.pdf
This is neuroscience course (masters) 1. What percent.pdfambikacomputer4301
 
this is my project charter..i want to prepare WBS level upto 4 lev.pdf
this is my project charter..i want to prepare WBS level upto 4 lev.pdfthis is my project charter..i want to prepare WBS level upto 4 lev.pdf
this is my project charter..i want to prepare WBS level upto 4 lev.pdfambikacomputer4301
 
this is all of the information that I have please help Lab 5 In.pdf
this is all of the information that I have please help  Lab 5 In.pdfthis is all of the information that I have please help  Lab 5 In.pdf
this is all of the information that I have please help Lab 5 In.pdfambikacomputer4301
 
This is a question from AI check if it is correct In which of the .pdf
This is a question from AI check if it is correct  In which of the .pdfThis is a question from AI check if it is correct  In which of the .pdf
This is a question from AI check if it is correct In which of the .pdfambikacomputer4301
 
This is a project management course topic . please help me A proje.pdf
This is a project management course topic . please help me A proje.pdfThis is a project management course topic . please help me A proje.pdf
This is a project management course topic . please help me A proje.pdfambikacomputer4301
 
This is Canadian Accounting Nova Gold Miners (NGM) is a gold mining.pdf
This is Canadian Accounting  Nova Gold Miners (NGM) is a gold mining.pdfThis is Canadian Accounting  Nova Gold Miners (NGM) is a gold mining.pdf
This is Canadian Accounting Nova Gold Miners (NGM) is a gold mining.pdfambikacomputer4301
 
This is for Object oriented and analysis thank youConsider a syste.pdf
This is for Object oriented and analysis thank youConsider a syste.pdfThis is for Object oriented and analysis thank youConsider a syste.pdf
This is for Object oriented and analysis thank youConsider a syste.pdfambikacomputer4301
 
This application is used to keep track of inventory information. A c.pdf
This application is used to keep track of inventory information. A c.pdfThis application is used to keep track of inventory information. A c.pdf
This application is used to keep track of inventory information. A c.pdfambikacomputer4301
 
Todas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfTodas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfambikacomputer4301
 
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfTodas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfambikacomputer4301
 
To what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfTo what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfambikacomputer4301
 
This data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfThis data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfambikacomputer4301
 
To examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfTo examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfambikacomputer4301
 
To create a 2D graphics scene using the HTML canvas element. The ide.pdf
To create a 2D graphics scene using the HTML canvas element. The ide.pdfTo create a 2D graphics scene using the HTML canvas element. The ide.pdf
To create a 2D graphics scene using the HTML canvas element. The ide.pdfambikacomputer4301
 
To complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfTo complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfambikacomputer4301
 
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfTitle Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfambikacomputer4301
 
This assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfThis assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfambikacomputer4301
 
Tide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfTide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfambikacomputer4301
 
Throughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfThroughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfambikacomputer4301
 
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfThree students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfambikacomputer4301
 

More from ambikacomputer4301 (20)

This is neuroscience course (masters) 1. What percent.pdf
This is neuroscience course (masters)  1. What percent.pdfThis is neuroscience course (masters)  1. What percent.pdf
This is neuroscience course (masters) 1. What percent.pdf
 
this is my project charter..i want to prepare WBS level upto 4 lev.pdf
this is my project charter..i want to prepare WBS level upto 4 lev.pdfthis is my project charter..i want to prepare WBS level upto 4 lev.pdf
this is my project charter..i want to prepare WBS level upto 4 lev.pdf
 
this is all of the information that I have please help Lab 5 In.pdf
this is all of the information that I have please help  Lab 5 In.pdfthis is all of the information that I have please help  Lab 5 In.pdf
this is all of the information that I have please help Lab 5 In.pdf
 
This is a question from AI check if it is correct In which of the .pdf
This is a question from AI check if it is correct  In which of the .pdfThis is a question from AI check if it is correct  In which of the .pdf
This is a question from AI check if it is correct In which of the .pdf
 
This is a project management course topic . please help me A proje.pdf
This is a project management course topic . please help me A proje.pdfThis is a project management course topic . please help me A proje.pdf
This is a project management course topic . please help me A proje.pdf
 
This is Canadian Accounting Nova Gold Miners (NGM) is a gold mining.pdf
This is Canadian Accounting  Nova Gold Miners (NGM) is a gold mining.pdfThis is Canadian Accounting  Nova Gold Miners (NGM) is a gold mining.pdf
This is Canadian Accounting Nova Gold Miners (NGM) is a gold mining.pdf
 
This is for Object oriented and analysis thank youConsider a syste.pdf
This is for Object oriented and analysis thank youConsider a syste.pdfThis is for Object oriented and analysis thank youConsider a syste.pdf
This is for Object oriented and analysis thank youConsider a syste.pdf
 
This application is used to keep track of inventory information. A c.pdf
This application is used to keep track of inventory information. A c.pdfThis application is used to keep track of inventory information. A c.pdf
This application is used to keep track of inventory information. A c.pdf
 
Todas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfTodas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdf
 
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfTodas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
 
To what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfTo what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdf
 
This data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfThis data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdf
 
To examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfTo examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdf
 
To create a 2D graphics scene using the HTML canvas element. The ide.pdf
To create a 2D graphics scene using the HTML canvas element. The ide.pdfTo create a 2D graphics scene using the HTML canvas element. The ide.pdf
To create a 2D graphics scene using the HTML canvas element. The ide.pdf
 
To complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfTo complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdf
 
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfTitle Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
 
This assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfThis assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdf
 
Tide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfTide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdf
 
Throughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfThroughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdf
 
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfThree students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 

this problem, you will implement the various steps of the DES algori.pdf

  • 1. this problem, you will implement the various steps of the DES algorithm (see slide 20 in CS3.pdf). For testing your implementation, please choose a random message of size not equal to a multiple of block length (which will require you to account for padding). Show the following implementations and their outputs on your test message. (a) (10 points) Implement and show the output of the expansion function (see slide 21 in CS3.pdf). (b) (10 points) Implement the S-box and show the output (see slide 22). (c) (10 points) Implement the P-box and show the output (see slide 23). (d) (15 points) Implement the key schedule, and show the output (see 24, 25, 26). (e) (5 points) Rest of the stuff in DES (xorss, etc. You can implement the IP and IP 1 if youd like to, but it is not really required.) Note that your implementation should work on any input message. We will test it on a random message of arbitrary length to check if it works, we will also generate the 56-bit key ourselves. The size of the message we test it on is not guaranteed to be a multiple of the block length please check for padding, if needed. Per good coding practices, please also include reasonable error checks (bad key length, null key, etc.)