Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this question we will use a cipher with an encryption function . C, = (P, + k + j) (mod 26) and the decryption

image text in transcribed

In this question we will use a cipher with an encryption function .

C, = (P, + k + j) (mod 26) and the decryption function P, = (C,-k-j) (mod 26) where the subscript J indicates the jth letter in the message (starting at J = 1 for the first letter in the message a) Write a pseudo-code implementation of the encryption function b) Write matlab code(s) to implement both the encryption and decryption functions. Demon- strate that these work as designed by encrypting and decrypting a string of your choosing. c) The ciphertext JZHZEATFPFYQHLXNVNSOMQJCNYAPNZCMPHXSVSGXNPRBXOGVHGMTPYDODRBFHUTMKYXKJKT NJEDXNUUQWDSQCFTIVFVYJBQFHRERDVYOLALKWXRRPTMWKMVNFCRMPTHKJTLZJVWKPFNFKG ZLVLEWHSBDRYYIVVBDCGPHXDXSGXVJXJXZJPJTWUAWLYWEGVP JGJXPZJQRGISFSEWZPMBYC FUSEKSDBWANLKQEBFLRLVYQEXEQ2SH I RYXMQWOGNUTCVTJ 1 AARXTZSCGCRLBI I OBATRJVBW ZIOIBNLFNQDDWAWY is encrypted with this cipher. (You don't need to type this in download the file A13c.mat from canvas and load that into matlab.) Break this encryption using one of the methods we have discussed - give both the plaintext, and the encryption key used. Explain why you chose the method that you did, and SHOW YOUR WORK, ncluding a description of your method, matlab code and/or figures and/or matlab output as needed

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

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

What is the overall purpose of your job? L01

Answered: 1 week ago