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

I need to encrypt traffic between the client and a server. When

ReserveApp.java

the host sends a username and password, it needs to be encrypted

ReserveServer.java

and THEN sent to the server. Server decrypts it so it can

reference the plaintext document "usernamepassword.txt" . Then the response "Login Successful" or

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!