This is simple app simualting a Client-Server model. I used the DES algorithm to encrypt the data.
- Require JDK 11
- Netbeans 12.0 LTS
- Initialize the soket on Server with address and port entered by user. After initailization, the Server is listening for connection from Client.
- The Client connects to Server by the address and port.
- The data will be encryted by DES and return the cipher text in hexa string.
- The Client sends the cipher text and key to Server.
- The Server receives and decrypt the cipher text with key then return the plaintext.
- The plaintext is converted to uppercase and encrypted again.
- The Server send the new cipher text to the Client.
- The Client receives and decrypts it then displays the plaintext.
All the DES code was referenced by https://www.youtube.com/watch?v=3mH6zaSjeGU&t=2628s
- Client Connection
- Client