Encryption algorithm
There are two basic types of encryption and decryption algorithms:
1) Symmetric encryption: The key is only one, encryption and decryption for the same password, and the decryption speed is fast, the typical symmetric encryption algorithm has DES, AES and so on;
2) Asymmetric encryption: The key in pairs appear (and according to the public key can not infer the private key, according to the private key can not infer the public key), encryption and decryption using different keys (public key encryption requires private key decryption, private key encryption requires public key decryption), relatively symmetric encryption speed is slow, the typical asymmetric encryption algorithm has RSA, DSA, etc. The communication process for HTTPS is as follows:
Advantages of HTTPS communication:
1) The client-generated key can be obtained only by the client and the server;
2) encrypted data can only be plaintext by client and server;
3) client-to-server communication is secure
The implementation principle of HTTPS