Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in MATLAB that can encrypt and decrypt using S-DES (simplified DES). Test data: Use plaintext, ciphertext and the key (See below). Put

Write a program in MATLAB that can encrypt and decrypt using S-DES (simplified DES).

Test data: Use plaintext, ciphertext and the key (See below). Put comments on your program script.

** Using S-DES, decrypt the string (10100010) using the key (0111111101) by hand. Show intermediate results after each function (IP,FK,SW,FK,IP-1 ). Then decode the first 4 bits of the plaintext string to a letter and the second 4 bits to another letter where we encode A through P in base 2 (i.e., A = 0000, B = 0001, ..., P = 1111). Hint: As a midway check, after the application of SW, the string should be (00010011).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is Working Capital ? Explain its types.

Answered: 1 week ago

Question

1. Why do people tell lies on their CVs?

Answered: 1 week ago

Question

2. What is the difference between an embellishment and a lie?

Answered: 1 week ago