What is End-to-end encryption?

What is End-to-end encryption?

  • Sri Datta

You send dozens of messages via your phone every day. To friends, colleagues, your partner. You share photos, meet up, and discuss sensitive matters. But have you ever thought about who else can read along?

In theory, telecom companies, app providers, hackers and governments all have an interest in what you send. End-to-end encryption is the technology that prevents that. In this article, you'll learn what it is exactly, how it works, and which apps actually use it.

What is end-to-end encryption?

End-to-end encryption, also known as E2EE, is a security method that ensures that only the sender and receiver can read a message. No one in between has access, not even the provider of the app or service you're using.

A good analogy: imagine writing a letter, putting it in a safe and sending the key only to the recipient. The postman transports the safe, but can never open it. Even the postal company does not have a spare key. That's essentially what E2EE does, but digitally and at lightning speed.

The difference with ordinary security is big. With many services, messages are secured in transit, but temporarily decrypted on the provider's server. In that case, the provider can read along, although they may not actively do so. With E2EE, this is impossible: the key only exists on your device and that of the recipient.

How does end-to-end encryption work?

E2EE works on the basis of a smart key system. Every device has two keys: a public key and a private key. The public key can be seen by everyone. The private key always remains secret on your device and never leaves it.

Below you can see step by step how that process works.

  • Key generation

When you install an app with E2EE, two keys are automatically created: a public and a private key. The public key is shared with the app server so that others can send you messages. The private key always stays on your device.

  • Encryption

When someone sends you a message, their app uses your public key to encrypt the message. The message is converted into unreadable characters, a kind of secret language that can only be deciphered with your private key.

  • Transmission

The encrypted message is sent over the Internet. Along the way, it passes servers of the app provider, telecom companies and possibly other parties. But no one can read it, because without your private key, it's nothing more than an unreadable string of characters.

  • Decryption

On your device, the app automatically uses your private key to decrypt the message. You read the message in plain language, without having to do anything.

The whole process takes place in the background, in milliseconds, without you noticing.

Which apps and services use end-to-end encryption?

Not every app that claims to be safe actually uses E2EE. Here's a rundown of well-known apps and what to expect from them.

  • WhatsApp

WhatsApp uses E2EE for all messages, calls, and video calls. The encryption is based on the Signal Protocol, which is considered the gold standard. Note: WhatsApp does share metadata, such as who you communicate with and how often, with parent company Meta. The content of your messages is secure, but your communication pattern is less so.

  • Signal

Signal is considered by security experts to be the most secure messaging app available. E2EE is enabled by default for everything, including group calls. Signal also collects hardly any metadata. The downside is that your contacts will also need to use Signal.

  • iMessage

Apple's iMessage uses E2EE when you communicate with other iMessage users. Recognizable by the blue message balloons. Green balloons mean regular SMS, which is not encrypted. Note: If you have iCloud backup enabled, your messages may be accessible through Apple's servers.

  • ProtonMail

ProtonMail is an E2EE-enabled email service for emails between ProtonMail users. Emails to addresses outside of ProtonMail aren't automatically end-to-end encrypted unless you take additional measures.

  • Zoom

offers E2EE as an optional setting for video calls, but it hasn't enabled it by default. You have to turn it on manually in the settings.

  • Telegram

Telegram only uses E2EE in so-called secret chats. Regular Telegram conversations are not. Many users don't know this, which is a common misconception.

What are the advantages and disadvantages of end-to-end encryption?

E2EE is a powerful technology, but not a perfect solution. Here's a fair trade-off.

Benefits

  • Privacy. Only you and the recipient can read the content of your messages. No provider, no hacker, no government.
  • Protection against hackers. Even if a server is hacked, the encrypted messages are worthless without the private key.
  • Security in sensitive communication. Journalists, lawyers, doctors and activists can communicate confidentially without the risk of interception.
  • Compliance with privacy laws. For companies, E2EE helps comply with rules such as the GDPR.
  • Protection on the go. Data is secured from start to finish, not just on a part of the journey.

Cons

  • Loss of keys. If your device breaks or loses your private key, you may not be able to access your own messages
  • Metadata remains visible. E2EE encrypts the content of messages, but not always who communicates with whom, when and how often.
  • Complications in examinations. Investigative services cannot read encrypted messages, which can be an obstacle in criminal investigations.
  • Not all apps do well. Some apps claim to use E2EE but implement it incompletely or with exceptions.
  • Backups are a weak spot. If you make an unencrypted backup of your messages, you bypass the protection of E2EE.

Frequently asked questions

Can end-to-end encryption be hacked?

E2EE itself is extremely difficult to crack. The weakest point is not the encryption but the device: if a hacker gains access to your phone or computer, they can still read the decrypted messages.

What is the difference between E2EE and regular encryption?

Regular encryption like TLS only secures the connection between your device and the server. Messages can be temporarily decrypted on the server. With E2EE, the provider does not have access to the content at any time.

Does WhatsApp really use end-to-end encryption?

Yes, WhatsApp uses the Signal Protocol for E2EE on all messages and conversations. Note: WhatsApp does collect metadata, such as who you communicate with and how often, and shares it with parent company Meta.

Is end-to-end encryption mandatory?

There is no general legal obligation, but the GDPR does require organizations to adequately secure personal data. E2EE is a strong measure for this, especially in sectors such as healthcare.

 

What are alternatives to E2EE?

The main alternatives are TLS, which only secures the connection between device and server, and Point-to-Point Encryption, which is mainly used in payment systems. Both offer less protection than E2EE.

 

  • end-to-end encryption
  • what is end-to-end encryption
  • how end-to-end encryption works E2EE
  • encrypted messaging
  • data privacy
  • public key encryption
  • secure messaging apps