Beijing Institute of Electronic Technology (BESTI) Experimental Report course: Java Programming Class: 1453 Instructor: Lou Jia Peng Experimental Date: 2016.05.06 18:30-21:30 experiment Name: Experiment five Java Network programming experiment content
1. Use the TCP code on the book to implement the server and client.
2. Client-to-server connectivity
3. Enter plaintext in the client, using DES algorithm encryption, des secret key is encrypted with the public key of the server in the RSA public key password, calculates the hash function value of the plaintext, and transmits it to the client
4. The client uses the RSA public key password in the server's private key to decrypt the DES, the secret key, with the secret key to decrypt the ciphertext, obtains the clear text. Calculates the value of the hash function for the clear text, checks whether it is consistent with the transmission, and if so, indicates a successful match.
Experimental steps
20145301 Experiment five Java network programming and security