Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE SOLVE BY USING MATLAB and STEP by STEP with EXPLAINATION. Part 1 We would like to encrypt a message using a 3x3 matrix we

image text in transcribed

image text in transcribed

PLEASE SOLVE BY USING MATLAB and STEP by STEP with EXPLAINATION.

Part 1 We would like to encrypt a message using a 3x3 matrix we will call our "cipher". 7 2 1 - Choose a message (string) to encrypt. Be sure the ber of characters (not cluding of 3. HINT: To inp? MATLAB use single quotes: my string -'thisismystrin Ignore all spaces. Kecp the same case for cach letter in the string Z-0) . Let each letter correspond to its numerical representation (e.g. A-1, B=2, Y-25, Create a matrix of numbers 0-25, D, representing your message and encrypt it by applying the cipher as a transformation to the matrix. DO NOT DO THIS STEP BY HAND! (Pay attention to dimension!) HINT: Create a string representing all possible characters in your alphabet encrypted matrix -cipher *original matrix mod 26 Output the encrypted string to the command window. DO NOT DO THIS STEP BY HAND! Part 1 We would like to encrypt a message using a 3x3 matrix we will call our "cipher". 7 2 1 - Choose a message (string) to encrypt. Be sure the ber of characters (not cluding of 3. HINT: To inp? MATLAB use single quotes: my string -'thisismystrin Ignore all spaces. Kecp the same case for cach letter in the string Z-0) . Let each letter correspond to its numerical representation (e.g. A-1, B=2, Y-25, Create a matrix of numbers 0-25, D, representing your message and encrypt it by applying the cipher as a transformation to the matrix. DO NOT DO THIS STEP BY HAND! (Pay attention to dimension!) HINT: Create a string representing all possible characters in your alphabet encrypted matrix -cipher *original matrix mod 26 Output the encrypted string to the command window. DO NOT DO THIS STEP BY HAND

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

Students also viewed these Databases questions

Question

What is meant by planning or define planning?

Answered: 1 week ago

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago