Question: Cline.c program Server.c program The goal of this assignment is to give you practical experience in using cryptographic libranies to implement encryption functionality in your

 Cline.c program Server.c program The goal of this assignment is to
Cline.c program
give you practical experience in using cryptographic libranies to implement encryption functionality
in your code, cspecially in regard to data in transit i e.
network communicatioes To this end you are provided with two pieces of
code (server.c and client.c) written in the C programming language. The code
Server.c program
implements a simple socket communicaticn program h enables two machines (a client
and a server) to make a connection to cach other and send
mesages Your objective in carrying out this assignment will be to modify
the code to achieve the following Unlimited communication between the client and
the server Termination of the connection when a specific message is sent
from the client to the .Encryption of the communication betwoen the client

The goal of this assignment is to give you practical experience in using cryptographic libranies to implement encryption functionality in your code, cspecially in regard to data in transit i e. network communicatioes To this end you are provided with two pieces of code (server.c and client.c) written in the C programming language. The code implements a simple socket communicaticn program h enables two machines (a client and a server) to make a connection to cach other and send mesages Your objective in carrying out this assignment will be to modify the code to achieve the following Unlimited communication between the client and the server Termination of the connection when a specific message is sent from the client to the .Encryption of the communication betwoen the client and the server using any encryption technique Instructioms 1. You will find attached the two pieces of C programming language code that implement the 2. You can run the program on any platform that works for you (1 would suggest using Ubun socket program (One for the Client side and the other for the Server sidc) Linux). Afber compiling the code, you have so assign a port number (example; Portmmber 5000, you can use any port number between 2000 and 65535) to the server when putting in the command to run it, .e server 5000 On the client side, you need the host name or IP address of the machine oe which the server is running if the host name or IP address is X) o run the client and connect to the server If you are running both programs on the same machine, the host name of the server will be localhos client localhost 5000 NOTE: A tutorial will be given to explain the details of the program and demonstrate hoto 3. The connection between the client and server closes after one message is sent, modify the 4. Modify the code to terminate the connection when the client sends the message "End 5. Modify the code such that communicatiom between both the client and server is an encrypied compile and run the code. Please endeavour to attend the tutorial codes such that maltiple messapes can be sent between both sides without termination Session" to the server. communication (Symmetric or Asymmetric) 6. During the encrypted communication the terminal should display the messapes roccivad both before decryption and after decryption NOTE Implement any encryption technique you've learnt so far and use any C langage cryptographic library of your choice, preferably the one you identified in your previous The goal of this assignment is to give you practical experience in using cryptographic libranies to implement encryption functionality in your code, cspecially in regard to data in transit i e. network communicatioes To this end you are provided with two pieces of code (server.c and client.c) written in the C programming language. The code implements a simple socket communicaticn program h enables two machines (a client and a server) to make a connection to cach other and send mesages Your objective in carrying out this assignment will be to modify the code to achieve the following Unlimited communication between the client and the server Termination of the connection when a specific message is sent from the client to the .Encryption of the communication betwoen the client and the server using any encryption technique Instructioms 1. You will find attached the two pieces of C programming language code that implement the 2. You can run the program on any platform that works for you (1 would suggest using Ubun socket program (One for the Client side and the other for the Server sidc) Linux). Afber compiling the code, you have so assign a port number (example; Portmmber 5000, you can use any port number between 2000 and 65535) to the server when putting in the command to run it, .e server 5000 On the client side, you need the host name or IP address of the machine oe which the server is running if the host name or IP address is X) o run the client and connect to the server If you are running both programs on the same machine, the host name of the server will be localhos client localhost 5000 NOTE: A tutorial will be given to explain the details of the program and demonstrate hoto 3. The connection between the client and server closes after one message is sent, modify the 4. Modify the code to terminate the connection when the client sends the message "End 5. Modify the code such that communicatiom between both the client and server is an encrypied compile and run the code. Please endeavour to attend the tutorial codes such that maltiple messapes can be sent between both sides without termination Session" to the server. communication (Symmetric or Asymmetric) 6. During the encrypted communication the terminal should display the messapes roccivad both before decryption and after decryption NOTE Implement any encryption technique you've learnt so far and use any C langage cryptographic library of your choice, preferably the one you identified in your previous

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!