In general, HTTPS uses symmetric encryption to encrypt the content of the data that is being transmitted. This means that the same key is used to encrypt and decrypt the data. When two parties want to communicate securely over the internet using HTTPS, they first establish a secure connection using the TLS or SSL protocol. As part of this process, they exchange keys that will be used to encrypt and decrypt the data that is transmitted between them. Once the secure connection is established, the parties can exchange data securely, with the content of the data being encrypted using the shared key. This ensures that only the parties who have the key can read the data, and that it cannot be intercepted and read by anyone else.