Author: s***n
Date:
Review: fxQuestion I: Encryption Methods 1. Symmetric vs. Asymmetric Encryption: - Symmetric advantages: Faster computation, simpler implementation - Symmetric disadvantages: Key distribution problem, less secure for key exchange - Asymmetric advantages: Secure key exchange, enables digital signatures - Asymmetric disadvantages: Slower computation, more complex implementation 2. Purpose in secure communication: - Asymmetric encryption used initially for secure key exchange - Symmetric encryption used for bulk data encryption after key exchange 3. Example application: - SSL/TLS protocol uses both (asymmetric for key exchange, symmetric for data encryption) Question II: TCP Programming import java.net.; import java.io.; public class Server { public static void main(String[] args) throws IOException { ServerSocket serverSocket = new ServerSocket(5252); System.out.println("Server Exam.edu.lb running on port 5252"); Socket clientSocke
顏色: 黑色
尺寸: 4XL