End-to-End Encryption E2EE
End-to-end encryption (E2EE) is encryption in which data is scrambled on the sender's device and unscrambled only on the recipient's. Only those two endpoints hold the keys, so no one in between can read the content, including the service provider. The GDPR and the NIS2 Directive name encryption as a security measure without prescribing this form.
What does end-to-end encryption mean?
End-to-end encryption means that content is encrypted on the device that sends it and decrypted only on the device that receives it. The keys needed to read it exist at those two ends and nowhere else. The service that carries or stores the content handles it in scrambled form.
Suppose a firm sends a draft contract to a client through an end-to-end encrypted service. The file is encrypted on the lawyer's computer before it leaves. The provider's servers pass on a block of data they cannot open. The client's device holds the key that turns it back into the contract.
The test is who holds the keys. If the provider can produce readable content, for instance to reset a forgotten password and restore the files, then the provider holds a key, and the service is not end-to-end encrypted in the strict sense. Published standards and open protocols exist for the encryption itself, and a provider should be able to say which it uses.
Further reading
How is end-to-end encryption different from encryption in transit and at rest?
The three differ in where the data is readable and in who holds the keys. Encryption in transit protects data while it travels between a device and a server. Encryption at rest protects data stored on a disk. In both, the provider's systems usually hold the keys and work with readable content at some point. With end-to-end encryption they never do. The table sets the three side by side.
| Point of difference | In transit | At rest | End-to-end |
|---|---|---|---|
| Where the data is encrypted | On the connection between two machines | On the storage medium | On the sender's device, until it reaches the recipient's device |
| Who holds the keys | The two machines on the connection, one of them usually the provider's server | Usually the provider | Only the sender and the recipient |
| Can the provider read the content? | Yes, once it arrives at the server | Yes, while its systems process the data | No |
| Main risk it answers | Interception on the network | Theft or loss of disks or devices | Access at the provider, by its staff or by an intruder |
The three are not alternatives. A service can use all of them. A provider that says its service is encrypted should be asked which kind it means.
What does end-to-end encryption not protect against?
End-to-end encryption protects content on the way and at the provider. It does not protect the two ends. A file is readable on the sender's device before encryption and on the recipient's device after decryption. Malware on either device, a laptop left open or a stolen password reaches it there.
It does not prove who is at the other end. Encryption guarantees that only the holder of a key can read the content. Whether that key belongs to the client or to someone posing as the client is a question of identity and has to be settled separately.
It does not usually hide the information around the content. A provider may still see who communicated with whom, when, and how much data passed. It does not control what the recipient does next: a decrypted file can be forwarded, printed or saved somewhere unprotected. Copies made outside the encrypted service, such as an unencrypted backup of a device, are outside it too.
Does EU law require end-to-end encryption?
The GDPR and the articles of the NIS2 Directive require appropriate security and name encryption as one measure. Neither uses the words end-to-end in an obligation.
Article 32(1)(a) of the GDPR lists "the pseudonymisation and encryption of personal data" among the measures a controller and a processor implement "as appropriate" to reach a level of security appropriate to the risk. The firm decides, on its own risk assessment, what kind of encryption that calls for. Article 34(3)(a) gives encryption a concrete effect. After a personal data breach, the people concerned need not be informed where the affected data was unintelligible to anyone not authorised to access it, "such as encryption".
Article 21(2)(h) of the NIS2 Directive requires essential and important entities to have "policies and procedures regarding the use of cryptography and, where appropriate, encryption". The directive mentions end-to-end encryption only in recital 98. The recital says its use should be promoted and, where necessary, should be mandatory for providers of public electronic communications networks and services. A recital explains a law and creates no duty by itself.
For financial entities, Article 9 of DORA requires policies that protect data "at rest, in use or in transit" (Article 9(2)) and protection measures for cryptographic keys (Article 9(4)(d)). It leaves the method to the entity's own data classification and risk assessment.
What changes for a firm that uses end-to-end encryption?
The firm gains confidentiality against its own provider and takes on the care of the keys.
The provider cannot read the content. A breach of the provider's servers exposes scrambled data, and the provider's staff cannot open client files. Asked to disclose content, the provider can hand over only what it holds: encrypted data and whatever surrounding information it keeps.
Losing the key means losing the data. A provider that holds no key cannot reset access. The firm needs its own recovery arrangement, such as a recovery key kept safely or a second authorised person, and it must test it. Records that the law requires the firm to keep have to stay readable for the whole retention period, so the keys must be kept as long as the records.
Functions that need readable content on the server stop working or move to the device. Full-text search, virus scanning, document previews and automated checks of content are examples. A firm should ask a provider how each of these works under its design.
Further reading
Related questions
Is the padlock in a browser (HTTPS) end-to-end encryption?
No. The padlock shows encryption in transit between the browser and the website's server. The server decrypts what it receives, so the operator of the site can read it. End-to-end encryption would keep the content unreadable to that server as well.
Is ordinary email end-to-end encrypted?
Not by default. Email is commonly encrypted in transit between mail servers when both sides support it. The messages are readable on the servers of the sender's and the recipient's mail providers. End-to-end encryption of email is possible, but both parties have to set it up and exchange keys first.
Does a breach of end-to-end encrypted data have to be reported?
Possibly to the authority, and usually not to individuals. The GDPR requires notification to the supervisory authority, where feasible within 72 hours, unless the breach is unlikely to result in a risk to people (Article 33(1)). Data that stayed unintelligible, with keys that were not exposed, supports that conclusion. The firm records its reasoning either way. The exception in Article 34(3)(a) applies only to the duty to tell individuals.
References
Regulation (EU) 2016/679 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data (General Data Protection Regulation), Articles 32, 33 and 34. European Union, 2016. eur-lex.europa.eu/eli/reg/2016/679/oj
Directive (EU) 2022/2555 on measures for a high common level of cybersecurity across the Union (NIS 2 Directive), Article 21 and recital 98. European Union, 2022. eur-lex.europa.eu/eli/dir/2022/2555/oj
Regulation (EU) 2022/2554 on digital operational resilience for the financial sector (DORA), Article 9. European Union, 2022. eur-lex.europa.eu/eli/reg/2022/2554/oj
This article describes EU law: the GDPR, the NIS2 Directive as adopted at EU level and DORA. National laws implementing NIS2, sector rules and professional secrecy rules can set their own security requirements. It explains the term in general and is not legal advice or security advice for a particular system.
All glossary terms