Security basics

End-to-End Encryption Explained in Plain Language

By OneTimePass team Updated 4 min read

In short

  • Encryption turns information into scrambled data that only someone with the right key can turn back.
  • With end-to-end encryption, data is encrypted on your device and only the intended recipient holds the key. The service in between can't read it.
  • Encryption "in transit" or "at rest" is good, but the service can still read your data.
  • End-to-end encryption protects data on its way and in storage, not on a device that has been compromised, or after the recipient has read it.
Contents
  1. Encryption in one paragraph
  2. Three kinds of "encrypted"
  3. Where the keys come from
  4. What end-to-end encryption doesn't protect
  5. How to tell if a service is really end-to-end encrypted
  6. Where you'll meet end-to-end encryption
  7. Summary

"End-to-end encrypted" appears in the marketing of messaging apps, cloud storage and password managers. It sounds reassuring, but what does it actually mean, and how is it different from the plain "encrypted" that almost every service claims?

This guide explains it without the jargon, so you can tell what a service can and can't see.

Encryption in one paragraph

Encryption turns readable information into scrambled data using a key, a very long random number. Only someone with the right key can turn the scrambled data back into the original. Modern encryption, such as AES-256, is so strong that without the key, nobody could unscramble the data in any realistic amount of time, even with enormous computing power.

So the important question is never just "is it encrypted?", but "who has the key?"

Three kinds of "encrypted"

Encryption in transit

Your data is encrypted while it travels between your device and the service, for example by HTTPS (the padlock in your browser). This stops people on the same Wi-Fi network, or anywhere along the way, from reading it. Once it arrives, the service decrypts it and can read it.

Encryption at rest

The service encrypts your data when it stores it on its disks. This protects against someone stealing a hard drive from a data centre. But the service holds the key, so its systems, and anyone who gets into them, can still read your data.

End-to-end encryption

Your data is encrypted on your device, before it is sent, and can only be decrypted on the device of the person it is meant for. The service in the middle stores and passes on scrambled data, but never has the key. It can't read your data, and neither can anyone who breaks into its servers.

An analogy: encryption in transit is an armoured van that delivers an open letter. Encryption at rest is a locked filing cabinet at the post office, which the post office has the key to. End-to-end encryption is a locked box that you lock at home, and only the recipient has the key to open.

Where the keys come from

For end-to-end encryption to work, the sender and the recipient need the right keys without the service ever seeing them. There are a few common ways:

  • A key in a link. OneTimePass creates a new random key for each secret in your browser and places it in the link after the # sign. Browsers never send that part of a link to a server, so we only ever receive the encrypted secret, and the key travels with the link to your recipient.
  • A key made from a password. A password vault turns your master password into a key on your device. Only someone who knows the master password can unlock the data. See what is an encrypted password vault.
  • Public-key encryption. Each person has a key pair: a public key that anyone may use to lock data for them, and a private key that only they have, to unlock it. This is how OneTimePass Secure Forms and secret requests work: your client's browser locks their answers with your public key, and only your vault can unlock them.

What end-to-end encryption doesn't protect

End-to-end encryption is powerful, but it isn't magic. Be aware of its limits:

  • The devices at either end. If your computer or your recipient's phone has malware, it can read data after it has been decrypted.
  • What the recipient does next. Once someone has read a secret, they can copy it, write it down or forward it.
  • Information about the message. A service may still see when a message was sent, how big it was and when it was opened. OneTimePass, for example, sees when a link was created, when it expires and how many opens are left, but not its contents.
  • Getting the key to the right person. If you send a one-time link to the wrong email address, the wrong person can open it. That's why adding a passphrase, given another way, helps.

How to tell if a service is really end-to-end encrypted

  • Can they reset your password and keep your data? If a service can restore access to your data after you forget your password, it has a way to decrypt it. True end-to-end encryption means a lost key is lost.
  • Does it say where encryption happens? Look for "in your browser" or "on your device", not just "encrypted".
  • Does it name its methods? Trustworthy services say which algorithms they use and how keys are handled. Our security page describes ours.
  • Does it explain the limits? A service that is honest about what it can see, such as timestamps, is more believable than one that claims to see nothing at all.

Where you'll meet end-to-end encryption

  • Messaging apps that encrypt messages between phones.
  • Password vaults that encrypt everything with your master password.
  • One-time secret links for sending passwords and other sensitive text.
  • Encrypted forms for collecting sensitive details from clients.

Summary

Almost every service encrypts data in transit and at rest, but then the service holds the key and can read your data. End-to-end encryption means the data is locked on your device and only the intended recipient has the key, so the service in between never can. It doesn't protect a compromised device, or what someone does after reading, but for passwords and sensitive details it is the standard to look for.