SSL (Secure Sockets Layer), and its successor Transport Layer Security (TLS) is a security protocol that provides security and data integrity for network communications. TLS and SSL encrypt network connections between the transport layer and the application layer.
Secure Socket Layer, developed by Netscape, is used to ensure the security of data transmission on the Internet. Using data encryption (Encryption) technology, Ensure that data will not be intercepted or eavesdropped during transmission on the network. (Recommended study: web front-end video tutorial)
The general specification is the 40-bit security standard, and the United States has introduced a higher security standard of 128 bit. As long as I.E. or Netscape browser version 3.0 or above can support SSL.
The current version is 3.0. It has been widely used for authentication and encrypted data transmission between web browsers and servers.
The SSL protocol is located between the TCP/IP protocol and various application layer protocols, providing security support for data communication.
The SSL protocol can be divided into two layers: SSL Record Protocol:
It is built on a reliable transmission protocol (such as TCP) It provides support for basic functions such as data encapsulation, compression, and encryption for high-level protocols.
SSL Handshake Protocol:
It is built on the SSL record protocol and is used to identify the communicating parties before the actual data transmission begins. Authentication, negotiation of encryption algorithms, exchange of encryption keys, etc.
Provide services
1) Authenticate users and servers to ensure data is sent to the correct client and server;
2) Encrypt data to prevent The data is stolen midway;
3) Maintain the integrity of the data and ensure that the data is not changed during the transmission process.
The above is the detailed content of The protocol used for the encryption mechanism is. For more information, please follow other related articles on the PHP Chinese website!