Encryption: Who Can Still Read Your Data?
Encryption makes information difficult to read without the appropriate key. Its usefulness depends on where that protection starts and stops: an encrypted connection to a website can protect your document on the journey while still letting the website read it.
The original, usable information is called plaintext; its encrypted form is ciphertext. A key is a data value used with a mathematical method to perform the transformation, as the National Institute of Standards and Technology's definition explains.
Decryption uses the appropriate key to recover the usable information. “Plaintext” includes photographs and spreadsheets, not just written messages.
Follow a document through three kinds of protection
Suppose you're sending a document through a website. Encryption in transit protects it while it travels across a connection.
An address beginning with https:// uses HTTPS, the protected form of the web's communication rules. It relies on Transport Layer Security, or TLS, to encrypt communication between your browser and the server, the computer serving the website.
The server can decrypt what you send to it. HTTPS doesn't establish what happens to the document afterward, or whether the business receiving it is trustworthy.
- Carry sensitive files on a drive that stays locked without your PIN.
- Unlock it on any computer, with no software to install.
- Lose it without losing sleep: the contents are encrypted in hardware.
Now suppose the site saves your document. Encryption at rest protects stored information, such as files on a drive or records in a database.
That storage can be encrypted while the service still holds the keys needed to read it. The UK's National Cyber Security Centre distinguishes stored-data protection from connection protection and stresses the need to control access to both data and keys.
End-to-end encryption moves the reading boundary to the communicating devices. In a properly implemented system, the service carrying the message doesn't have the keys needed to read its contents.
Signal, for example, uses end-to-end encryption for its conversations. A recipient can still copy a message, and someone who gains access to an unlocked recipient device may be able to read it there.
These protections can overlap. The labels describe different coverage; seeing one doesn't establish that the others are present.
The method can be public while the key stays secret
The Advanced Encryption Standard, or AES, is a publicly documented encryption method. Its design doesn't depend on keeping the instructions hidden.
AES uses symmetric encryption: the same secret key encrypts and decrypts. Public-key encryption uses a related pair instead: people can encrypt to a recipient's public key, while the corresponding private key is kept secret for decryption.
Real systems can combine these approaches. The key arrangement matters because whoever can obtain or use a suitable decryption key may be able to read the protected data.
The Encryption Working Behind an Ordinary Web Page
Secrecy is one part of protecting a file
Encryption's central job is confidentiality—keeping information from unauthorized readers. It doesn't, by itself, prove who wrote a document or that the document hasn't been changed.
Well-designed tools can combine encryption with tampering checks. OWASP, an application-security nonprofit, recommends authenticated encryption where available: protection that also lets software detect unauthorized changes to encrypted data.
Encryption also won't restore a deleted file. You still need usable backups, and encrypted backups need a working way to recover their contents.
When a service says your information is encrypted, look for the boundary: which copy is covered, where it becomes readable, and who can make that happen. Those details tell you far more than the word “encrypted” alone.
Symmetric Cryptography Starts With a Shared Secret

Asymmetric Cryptography: Two Keys, Different Jobs

TLS Protects the Connection. The Destination Still Gets the Data.

QUOTE:
"Amateurs hack systems, professionals hack people."
