Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated
End-to-end encryption (E2EE) is encryption that protects data so that only the sender and the recipient can read it. RFC 4949 defines it as protection in which data is encrypted at its source, stays encrypted while it passes through the equipment in between, and is decrypted only at its final destination.
How does end-to-end encryption work?
Imagine a sealed letter passing through several relay stations of the post. The people at the stations only carry the envelope and cannot read the letter. Only the addressee who receives it at the end can open it. This property of not being opened on the way is the idea of end-to-end.
RFC 4949 gives as an advantage that even if there are several communication paths and relay devices between two distant points, the start and the end can protect the communication without relying on the protection of the relay devices. As a point of comparison it also names link encryption, which encrypts each section of the communication separately and decrypts it each time it reaches the next relay device.
The NIST glossary defines it as communication encryption in which data is encrypted while passing through the network, and explains that the information that decides the route remains visible. This can be read as: the contents are protected, but information about the route is not hidden.
Encryption holds only between people who hold the keys. The mechanism of keys is in public key cryptography. What is visible from outside about your site's communication can be checked with the free URL check.
Why does end-to-end encryption matter?
For an operator who handles customers' personal information and exchanges with business partners, protection against being read on the route is a foundation. But usage of the term varies. RFC 4949 lists mechanisms such as SSH, SSL, and TLS as examples of end-to-end encryption too.
On the other hand, some products, such as messaging services, use it to mean that even the operator cannot read the data. Even with the same words, the protected range changes depending on whether the "end" is the user's device or your own server. In the documentation of a service you adopt, check where the end is and who holds the keys. If you want help reading it, contact us.
If you lose the key, you cannot get the data back. The idea of key management is a guide to rules for keeping and replacing keys.
Related terms
- Public key cryptography: a cipher method that uses a public key and a secret key as a pair
- Man-in-the-middle attack: an attack that cuts into the middle of communication to snoop on or rewrite it
- Key management: the operation of making, keeping, and replacing encryption keys
- PKI (public key infrastructure): the mechanism that supports issuing and managing certificates
Frequently asked questions
If I communicate over https, is that end-to-end encryption?
Usage of the term varies, so it cannot be said flatly. RFC 4949 lists TLS and SSH as examples of end-to-end encryption too. Some products, however, use the term to mean that even the service operator cannot read the data, so check in the documentation where the "ends" are.
With end-to-end encryption, does snooping never happen?
It cannot be said so. What is encrypted is the data in the middle of the communication. The NIST glossary also explains that the information that decides the route remains visible. If a device is operated illegally, the data can be read at the end.
Next step
The range a service protects starts with finding out, in its documentation, who holds the keys. The free URL check shows only what is visible from outside your site's communication, and for the design of how personal information is handled, contact us.
Frequently asked questions
If I communicate over https, is that end-to-end encryption?
Usage of the term varies, so it cannot be said flatly. RFC 4949 lists TLS and SSH as examples of end-to-end encryption too. Some products, however, use the term to mean that even the service operator cannot read the data, so check in the documentation where the "ends" are.
With end-to-end encryption, does snooping never happen?
It cannot be said so. What is encrypted is the data in the middle of the communication. The NIST glossary also explains that the information that decides the route remains visible. If a device is operated illegally, the data can be read at the end.