HyperText Transfer Protocol Secure HTTPS (original) (raw)

Last Updated : 12 Feb, 2026

HTTPS stands for HyperText Transfer Protocol Secure. It is the most common protocol for sending data between a web browser and a website. HTTPS is the secure variant of HTTP and is used to communicate between the user's browser and the website, ensuring that data transfer is encrypted for added security.

HTTPS-gif

HTTPS

**Note: Any website, especially those requiring login details, should use HTTPS. You can see a padlock icon in the URL bar, which means the page is secure. Browsers, like Google Chrome, treat HTTPS seriously and mark non-HTTPS websites as "Not Secure."

Working of HTTPS

HTTPS establishes the communication between the browser and the web server. It uses the Secure Socket Layer (SSL) and Transport Layer Security (TLS) protocol for establishing communication. The new version of SSL is TLS(Transport Layer Security).

HTTPSdrawio

How HTTPS Work

Why HTTPS Matters and What Happens Without It?

**Example:

**Before encryption: "This is a string of text that is completely readable"
**After encryption: "ITM0IRyiEhVpa6VnKyExMiEgNveroyWBPlgGyfkflYjDaaFf/Kn3bo3OfghBPDWo6AfSHlNtL8N7ITEwIXc1gU5X73xMsJormzzXlwOyrCs+9XCPk63Y+z0="

Secure Socket Layer (SSL)

The main responsibility of SSL is to ensure that the data transfer between the communicating systems is secure and reliable. It is the standard security technology that is used for encryption and decryption of data during the transmission of requests.

Roles of the SSL layer

Encryption in HTTPS

HTTP transfers data in a hypertext format between the browser and the web server, whereas HTTPS transfers data in an encrypted format. As a result, HTTPS protects websites from having their information broadcast in a way that anyone eavesdropping on the network can easily see.

Keys for Encryption:

**Note: HTTPS uses the following algorithms for encryption and hashing purposes:

HTTP vs HTTPS

Here are some key differences between HTTP and HTTPS:

HTTP HTTPS
HTTP stands for HyperText Transfer Protocol HTTPS stands for HyperText Transfer Protocol Secure
URL begins with "http://" URL starts with "https://"
HTTP Works at the Application Layer. Also works at the Application Layer (HTTP over TLS)
Data is sent in plain text Data is encrypted using TLS
No encryption or security Provides encryption, authentication, and integrity
Faster in theory (no encryption) Nearly same speed in modern systems (TLS optimized, HTTP/2 & HTTP/3 support)

For more differences between these two, refer to the article Difference between http:// and https://.