what is ssl ? code example

Example 1: what is SSL

SSL, short for Secure Sockets Layer, is 
commonly used on e-commerce sites and pages that 
require users to submit personal or credit card information.
ensurs that all data passed between the two parties remains private and secure
prevents hackers from stealing private information 
such as credit card numbers, bank information, names, and addresses

Example 2: ssl

SSL/TLS works by binding the identities of entities 
such as websites and companies to cryptographic key pairs 
via digital documents known as X.509 certificates. 
Each key pair consists of a private key and a public key. 
The private key is kept secure, 
and the public key can be widely distributed via a certificate.