Question: And client program is And server program is The goal of this assignment is to give you practicall experience in using crypographic libraries to implement
The goal of this assignment is to give you practicall experience in using crypographic libraries to implement encryption functionality in your code, especially in regard to data in transit ie nctwork communications To this end you are provided with two pieces of code (server.c and client.c) written in the C programming langage. The code implements a simple socket communication program that cmables two machines (a clhent and a server) to make a connection to each other and send messages Your objective in carrying out this assignment will be to modify the code to achicve the following Unlimited commmanication betwocn the cliont and the server Temmination of the connection when a specific message is sent from the client to the . Encryption of the communication between the client and the server using any encryption technique Instructions L. 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 UTb socket program (One for the Client side and the other for the Server sidek Linux). After compiling the code, you have to assign a port number (example; Peet number 5000, you can use any port number between 2000 and 65535) te the server when puting in the command to run it. ie Jsever 5000 On the client side you need the hest name or IP address of the machine on which the server is running (if the host name or IP address is X) to run the client and conmect to the server dient X 5000 If you are running both programs on the same machine, the host name of the server will be localhost Jient locelhost 5009 NOTE: A tutorial will be given to explain the details of the program and demonstrate how to 3. The connection between the client and server closes after one message is sent modify the 4. Modify the code to terminate the connoction when the client sends the message "End 5. Modify the code uch that communication betweem both the clsent and server is an enerypied compile and run the code. Plcase endeaveuar to attend the tutoria codes such that makiple messages can be ent betwem both sides without termination Session to the server 6 During the enerypoed communication the terminal should display the messages seceived both befoee decryption and afier decryption NOTE: Implement amy encryption technique you've leamt so far and use any C language cryptographic library of your choice, preferably the one you identified in your previous The goal of this assignment is to give you practicall experience in using crypographic libraries to implement encryption functionality in your code, especially in regard to data in transit ie nctwork communications To this end you are provided with two pieces of code (server.c and client.c) written in the C programming langage. The code implements a simple socket communication program that cmables two machines (a clhent and a server) to make a connection to each other and send messages Your objective in carrying out this assignment will be to modify the code to achicve the following Unlimited commmanication betwocn the cliont and the server Temmination of the connection when a specific message is sent from the client to the . Encryption of the communication between the client and the server using any encryption technique Instructions L. 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 UTb socket program (One for the Client side and the other for the Server sidek Linux). After compiling the code, you have to assign a port number (example; Peet number 5000, you can use any port number between 2000 and 65535) te the server when puting in the command to run it. ie Jsever 5000 On the client side you need the hest name or IP address of the machine on which the server is running (if the host name or IP address is X) to run the client and conmect to the server dient X 5000 If you are running both programs on the same machine, the host name of the server will be localhost Jient locelhost 5009 NOTE: A tutorial will be given to explain the details of the program and demonstrate how to 3. The connection between the client and server closes after one message is sent modify the 4. Modify the code to terminate the connoction when the client sends the message "End 5. Modify the code uch that communication betweem both the clsent and server is an enerypied compile and run the code. Plcase endeaveuar to attend the tutoria codes such that makiple messages can be ent betwem both sides without termination Session to the server 6 During the enerypoed communication the terminal should display the messages seceived both befoee decryption and afier decryption NOTE: Implement amy encryption technique you've leamt so far and use any C language cryptographic library of your choice, preferably the one you identified in your previous
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
