[ad_1]
Encrypted CommunicationBackgroundThe goal of this assignment is to give you practical experience in using cryptographic libraries toimplement encryption functionality in your code, especially in regard to data in transit i.e.network communications.To this end you are provided with two pieces of code (server.c and client.c) written in the Cprogramming language. The code implements a simple socket communication program thatenables two machines (a client and a server) to make a connection to each other and sendmessages.Your objective in carrying out this assignment will be to modify the code to achieve thefollowing: Unlimited communication between the client and the server Termination of the connection when a specific message is sent from the client to theserver Encryption of the communication between the client and the server using any encryptiontechniqueInstructions1. You will find attached the two pieces of C programming language code that implement thesocket program (One for the Client side and the other for the Server side).2. You can run the program on any platform that works for you (I would suggest using UbuntuLinux). After compiling the code, you have to assign a port number (example; Port number =5000, you can use any port number between 2000 and 65535) to the server when putting inthe command to run it. i.e../server 5000On the client side, you need the host name or IP address of the machine on which the server isrunning (if the host name or IP address is X) to run the client and connect to the server./client X 5000If you are running both programs on the same machine, the host name of the server will belocalhost./client localhost 5000NOTE: A tutorial will be given to explain the details of the program and demonstrate how tocompile and run the code. Please endeavour to attend the tutorial3. The connection between the client and server closes after one message is sent, modify thecodes such that multiple messages can be sent between both sides without termination.4. Modify the code to terminate the connection when the client sends the message “EndSession” to the server.5. Modify the code such that communication between both the client and server is an encryptedcommunication (Symmetric or Asymmetric)6. During the encrypted communication the terminal should display the messages received bothbefore decryption and after decryptionNOTE: Implement any encryption technique you’ve learnt so far and use any C languagecryptographic library of your choice, preferably the one you identified in your previousassignment.Submission1) Submit your modified code and a report (which should include screenshots of your results forquestions 3, 4, and 5) in separate files via Blackboard by the due date. No zipped filesallowed.
[ad_2]Source link
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”
What Students Are Saying About Us
.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"
.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."