Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this proiect is to give students some experience with Affine crvpto algorithm of binary data. You are to implement in matlab, C,

image text in transcribed

The purpose of this proiect is to give students some experience with Affine crvpto algorithm of binary data. You are to implement in matlab, C, C++, C#, or Java routines to encrvpt, decrvpt, and attack the following crvpto: Yi = (aX + b) 90 256 Where {Xi; i -0 n-1 is the input plain n bytes sequence, (a, b) is the keyword of length 2 characters, and {Y; 0: n-1} is the output cipher n byte sequence To test your routines you need to encrypt a jpg image file and decrypt the resulting file. Exchange the encrypted files with your lab partner, and then run your attack routine to find out vour partner's secret keyword and decrvpt his/her encrvpted file Your report should include answers to the following questions: 1. 2. 3. How many binary Affine keys? Also determine the number of special binary affine kevs such as trivial and involuntary What is the effect of Affine encryption on the data statistics such as mode, mean, median, standard deviation and entropy? What is the effect of cascading 2 Affine crypto systems on the security of the system? The purpose of this proiect is to give students some experience with Affine crvpto algorithm of binary data. You are to implement in matlab, C, C++, C#, or Java routines to encrvpt, decrvpt, and attack the following crvpto: Yi = (aX + b) 90 256 Where {Xi; i -0 n-1 is the input plain n bytes sequence, (a, b) is the keyword of length 2 characters, and {Y; 0: n-1} is the output cipher n byte sequence To test your routines you need to encrypt a jpg image file and decrypt the resulting file. Exchange the encrypted files with your lab partner, and then run your attack routine to find out vour partner's secret keyword and decrvpt his/her encrvpted file Your report should include answers to the following questions: 1. 2. 3. How many binary Affine keys? Also determine the number of special binary affine kevs such as trivial and involuntary What is the effect of Affine encryption on the data statistics such as mode, mean, median, standard deviation and entropy? What is the effect of cascading 2 Affine crypto systems on the security of the system

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

Modern Database Management

Authors: Heikki Topi, Jeffrey A Hoffer, Ramesh Venkataraman

13th Edition

0134773659, 978-0134773650

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago