Question: I need to encrypt traffic between the client and a server. When the host sends a username and password, it needs to be encrypted and
I need to encrypt traffic between the client and a server. When the host sends a username and password, it needs to be encrypted and THEN sent to the server. Server decrypts it so it can reference the plaintext document "usernamepassword.txt" . Then the response "Login Successful" or "Login failed" (shown below in ReserveServer.java) The encryption algorithm used is AES and uses Encrypt.Decrypt.java.
EncryptDecrypt.java

ReserveApp.java

ReserveServer.java


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
