Question: Please do in MATLAB Use this cipher, The encrypt function (5 points) The encrypt function takes two parameters, a message and a key (in that
Please do in MATLAB

Use this cipher,



The encrypt function (5 points) The encrypt function takes two parameters, a message and a key (in that order), encrypts the message using the Caesar cipher with the given key, and returns the encrypted message n order to encode the message, you will need to use a for oop to go through the message character by character and figure out the corresponding encoded character in the encrypted message. Important note mod (n 26) returns integer values between 0 and 25 our letters of the alphabet have numbers between 1 and 26. So, if mod n, 26) is 0, you should consider the corresponding number to be 26. For example, if our message is Y" and the key is 1, then we should get 'Z' as the encrypted message; using technique above, mood (25-1, 26) is 0 we should consider that 0 to really be 26. Complete the encrypt function. Start with this enc file and modify it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
