To practically understand HTTPS, we will need to first talk about the TLS protocol. TLS is a protocol that can be utilized to encrypt data communicated over a computer network. TLS relies on two types of cryptography algorithms to achieve its goals—symmetric cryptography and public-key cryptography.
Public-key cryptography is also known as asymmetrical cryptography. We will cover where the name came from shortly. On the other hand, symmetric cryptography can also be called symmetric-key algorithms.