Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a simple chatting system wherein each message has to be encrypted using rail fence cipher. During the session establishment, one of the communicating parties

Consider a simple chatting system wherein each message has to be encrypted using rail fence cipher. During the session establishment, one of the communicating parties sends a key to the other side (which represents the number of lines in which the plaintext has to be aligned when the rail fence algorithm is applied). Then, each sent massage has to be encrypted using the cipher and then decrypted in the other side. In this assignment, you are required to do the following tasks: 1. Build a simple chatting system between two communicating parties on a local machine. (You can use some other code in this task, however, make sure to understand it well as well as citing it in your code comments). The following websites might be helpful for you: 2. Exchange the key between both communicating parties. 3. Encrypt each transmitted message using rail fence cipher. 4. Decrypt each received message using rail fence cipher. 5. Compute the encryption time to send each message and record it alongwide with the size of the message. 6. Plot the message size versus the encryption time for a number of messages.

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_2

Step: 3

blur-text-image_3

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

Have you been notified by the claims department of your rights?

Answered: 1 week ago

Question

2 What people-related issues do you foresee?

Answered: 1 week ago

Question

' Which areas are you most dependent on to get your work done?

Answered: 1 week ago

Question

What could we do to develop our working relationship?

Answered: 1 week ago