End-to-End Encryption (E2EE) - True Message Privacy
About 2 min read
End-to-end encryption (E2EE) is a communication method in which data is encrypted on the sender's device and decrypted only on the recipient's device. As long as the keys are managed and verified correctly, no intermediary, including the service provider, can read the contents of the communication, and some messaging apps and cloud storage services use E2EE as a means of protecting privacy. Its scope is not limited to messaging: in December 2022 Apple announced Advanced Data Protection for iCloud, an opt-in setting that extends E2EE to categories such as iCloud Backup.
Practical Application Scenarios
When sharing patient data with medical institutions, some organizations adopt a configuration based on E2EE-capable messaging. Because the data is not decrypted on the server side, insider misconduct at the cloud provider or a breach of the server alone does not reveal the message contents. On the other hand, a compromised device or a skipped key verification falls outside the scope of this protection, so device management and key verification are preconditions for it.
E2EE Flow
Historical Background
The concept of E2EE dates back to PGP (Pretty Good Privacy), developed by Phil Zimmermann in 1991. TextSecure v2, released in February 2014, adopted the Double Ratchet design that later came to be known collectively as the Signal protocol, and in April 2016 WhatsApp made E2EE the default for communication between users running the latest version of the app. As encryption technology became more widespread, LINE began offering Letter Sealing as an optional feature in August 2015, enabled it by default in its major environments in 2016, and since 2021 has had it enabled by default in all regions, with no way for users to turn it off manually.
How It Works and Practical Considerations
In its basic form, E2EE uses public-key cryptography. Each user holds a pair of public and private keys, and the sender encrypts the message with the recipient's public key. Because the private key is kept on the recipient's device and is not handed to the server, the contents remain protected even if data is leaked on the server side. However, E2EE does not protect metadata (who sent what to whom and when). In addition, if the device itself is infected with malware, the decrypted data may be stolen.
Challenges of E2EE
Law enforcement agencies sometimes demand a "backdoor" into E2EE for criminal investigations, but the report "Keys Under Doormats," published in July 2015 by researchers at MIT CSAIL and other institutions, argued against such mechanisms on the grounds that any capability enabling decryption could also be exploited by attackers. For corporate compliance departments, an E2EE environment poses the challenge that employee communications cannot be audited. Protecting E2EE app accounts with a strong, unique password for each service, combined with secure password sharing, is one way to secure those accounts.
Was this article helpful?
Related Terms
- SSL/TLS - How HTTPS Encrypts Your ConnectionSSL/TLS encrypts data between browser and server to prevent eavesdropping. Learn how the TLS handshake, certificates, and cipher suites keep you safe.
- Whaling Attacks - Phishing That Targets ExecutivesWhaling sends highly personalized phishing emails to CEOs and senior leaders. Learn why these attacks cause massive losses and how to prevent them.
- Encryption Explained - Symmetric, Asymmetric, and MoreEncryption transforms readable data into ciphertext only authorized parties can decode. Covers AES, RSA, and TLS to help you choose the right method.
- Cloud Storage - Storing Data Online SecurelyCloud storage lets you save and manage data over the internet. Understanding the difference between server-side and client-side encryption and managing shared links carefully are key to staying secure.