Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program must be written in python. Write a python program A which is required to send a file key.dat on a designated port for key

Program must be written in python.

Write a python program A which is required to send a file key.dat on a designated port for key communication, to machine B running program B. Additionally, program A is required to send a file Encrypt.dat on a designated port for data communication, to machine B running program B. The 'key.dat' file contains 100 random characters and the 'Encrypt.dat' file was encrypted using the Vigenere cipher with the key from the 'key.dat' file.

Program B is required to accept the key.dat file on a designated port for key communication with machine A running program A.

Similarly, Program B is required to accept the Encrypt.dat file on a designated port for data communication with machine A running program A. Furthermore, program B is required to use the key to decrypt the Encrypt.dat file and display the result to the screen, in addition to writing it to a file called Decrypt.dat.

Use Socket Port = 2500 for transmission of key

Use Socket Port = 2501 for transmission of data

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

Case Studies In Business Data Bases

Authors: James Bradley

1st Edition

0030141346, 978-0030141348

More Books

Students also viewed these Databases questions

Question

LO4 Identify a system for controlling absenteeism.

Answered: 1 week ago