Experiment one requires:
Two pairs of pair programming:
- Reference Http://www.cnblogs.com/rocedu/p/6766748.html#SECDSA
- The function Mybc.java of the expression of infix expression to suffix in the pair realization
- The knot pair implements the function of evaluating the suffix expression in an expression obtained from the above function, calling Mydc.java
- Upload test code run results and code cloud Links
As follows
Experiment two requires:
Pay attention to the end of the responsibility, will pass the test to prove that no problem
- Java socket-based client/server function, transmission mode with TCP
- The client lets the user enter infix expression, then converts the function of the infix expression call Mybc.java to the suffix expression, and sends the suffix expression over the network to the server.
- The server receives the suffix expression, calls the function of the Mydc.java to compute the value of the suffix expression, and sends the result to the client
- The client displays the results sent by the server.
- Upload test results and code cloud Links
As follows
Experiment one requires:
Pay attention to the end of the responsibility, will pass the test to prove that no problem
- Java socket-based client/server function, transmission mode with TCP
- The client lets the user enter infix expression, then converts the function of the infix expression call Mybc.java to the suffix expression, and uses the suffix expression to encrypt the ciphertext to the server through the network using 3DES or AES algorithm.
- Client and server use DH algorithm for key exchange of 3DES or AES algorithm
- After the server receives the suffix expression expression, decrypts, and then calls the function of Mydc.java to calculate the value of the suffix expression and sends the result to the client
- The client displays the results sent by the server.
- Upload test results and code cloud Links
As follows
Experiment one requires:
. Pay attention to the end of the responsibility, will pass the test to prove that no problem
- Java socket-based client/server function, transmission mode with TCP
- The client lets the user enter infix expression, then converts the function of the infix expression call Mybc.java to the suffix expression, and uses the suffix expression to encrypt the ciphertext to the server through the network using 3DES or AES algorithm.
- Client and server use DH algorithm for key exchange of 3DES or AES algorithm
- After the server receives the suffix expression expression, decrypts, and then calls the function of Mydc.java to calculate the value of the suffix expression and sends the result to the client
- The client displays the results sent by the server.
- Upload test results and code cloud Links
As follows
Experiment one requires:
Experiment five network programming and security-5
Integrity Check pair Programming: 1 people responsible for the client, one person responsible for the server
- Pay attention to the end of the responsibility, will pass the test to prove that no problem
- Java socket-based client/server function, transmission mode with TCP
- The client lets the user enter infix expression, and then converts the function of the infix expression call Mybc.java to the suffix expression, and the suffix expression is encrypted with 3DES or AES algorithm to send the MD5 of ciphertext and plaintext to the server by the network.
- Client and server use DH algorithm for key exchange of 3DES or AES algorithm
- After the server receives the suffix expression expression, decrypts, decrypts the MD5 value of the plaintext, compares it to the MD5 from the client, and then calls the Mydc.java function to compute the value of the suffix expression and sends the result to the client
- The client displays the results sent by the server.
- Upload test results and code cloud Links
As follows
Java Experiment 5