What is HTTPS & Encryption?

Encryption scrambles your data so only the intended recipient can read it - the padlock in your browser means this is happening.

Think of it like this

Imagine sending a letter in a locked box that only the recipient has the key to. Even if someone intercepts it along the way, all they see is a locked box - they can't read what's inside.

What's happening

Diagram comparing HTTP (data readable by anyone) with HTTPS (data scrambled and unreadable to interceptors)

Summary

HTTPS uses encryption to scramble data in transit so it can only be read by you and the website you're talking to.

A Closer Look

HTTP is the basic language browsers and servers use to exchange data. HTTPS is the same thing but with a security layer on top called TLS (you may also hear the older name, SSL). Before any data is sent, your browser and the server perform a quick handshake - they agree on a shared secret key that nobody else knows. From that point on, everything is scrambled using that key, so even if someone intercepts the traffic, they just see meaningless characters.

The padlock icon in your address bar is the browser's way of telling you this protection is active. If a site uses plain HTTP instead, modern browsers will warn you that the connection is not secure.

How does your browser know it's talking to the real bank, and not an impostor? That's the job of a certificate, a digital document the website presents during the handshake. Certificates are issued by trusted organisations called certificate authorities, which check that whoever requests one genuinely controls that web address. Your browser and device come with a built-in list of authorities they trust, and if a certificate is fake, expired or issued for a different address, the browser shows a full-page warning instead of loading the site. The handshake itself relies on a clever branch of maths called public-key cryptography, which lets two computers that have never met agree on a secret key, even while others are listening in.

Common Misconceptions

  • HTTPS does not mean the website is trustworthy - it only means the connection is encrypted. A scam site can still have a padlock.
  • Encryption does not hide which websites you visit - your internet provider can still see you connected to google.com, just not what you searched for.
  • HTTPS is not optional for modern websites - browsers actively warn users about HTTP sites, and search engines rank HTTPS sites higher.

Frequently asked questions

Is it safe to enter my card details on a website with a padlock?

The padlock means your card details are protected while they travel, so nobody on the same Wi-Fi network can read them. It doesn't tell you whether the business itself is honest. Before paying, also check the web address is spelled correctly, that you know or have researched the site, and that the offer isn't too good to be true. Many card providers and payment services offer extra protection if something goes wrong.

What should I do if my browser says a connection is not private?

Take it seriously and, in most cases, don't continue. The warning means the browser couldn't confirm the site's identity, perhaps because its certificate has expired, belongs to a different address, or something on the network is interfering. Often it's a harmless mistake by the website owner, but you can't tell that from the outside. Never enter passwords or payment details after clicking past one of these warnings.

Is public Wi-Fi safe to use if a site uses HTTPS?

HTTPS removes much of the old risk, because other people on the same cafรฉ or hotel network can no longer read what you send to secure sites. They may still be able to see which sites you connect to. Be wary of fake networks with official-sounding names, and of login pages that ask for lots of personal details just to get online. For extra privacy, some people use a VPN on public networks.

How it connects

HTTPS is a security layer that sits on top of the web's existing infrastructure:

Try it yourself

Click the padlock icon in your browser's address bar on any website - you'll see certificate details showing who verified the site's identity and that the connection is encrypted.