Decryption: Who Can Read Data Once It Becomes Usable?
Encrypted information has to become usable somewhere. Decryption is that step, and the place where it happens helps determine who can read your data.
Decryption uses a cryptographic key, a data value used by encryption software, and the matching method to recover protected information.
Encrypted data is called ciphertext, and its unencrypted form is plaintext. Plaintext might be words, photographs, or another kind of file.
The National Institute of Standards and Technology's definition describes that transformation. It doesn't mean every person who obtains the key has permission to read the information.
One Shared Key or a Matched Pair?
An encrypted connection can end at the service
An ordinary web service can receive a document over HTTPS, decrypt the connection's traffic, and process the document on its server. The journey is protected without the document necessarily being hidden from the service.
HTTPS is the secure form of web communication. It commonly uses a system called Transport Layer Security, or TLS, to protect traffic between two endpoints: the systems at either end of the connection.
The TLS specification describes confidentiality between those endpoints: outsiders on the network shouldn't be able to read the protected contents. The receiving endpoint needs usable data to perform its part of the exchange.
So “encrypted in transit” describes protection while data travels. It doesn't answer how the service stores the document afterward or who can access it there.
End-to-end encryption chooses different endpoints
For an end-to-end encrypted conversation, message content is encrypted on a participant's device and decrypted on the intended recipients' devices. The service carrying it isn't supposed to hold the keys needed to read those messages.
Signal explains this distinction by stating that its service can't access the contents of its end-to-end encrypted messages and calls.
The recipient can still read the message after decryption—and can copy or show it to someone else. Protecting delivery doesn't control everything a recipient does with the result.
Similarly, encryption at rest protects stored data, such as files on a drive. Once the system unlocks those files for use, other safeguards must control access.
The British National Cyber Security Centre's data-security guidance warns that disk encryption doesn't protect data from access on a running system by itself. Device security and account permissions still matter.
- 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.
Password checking usually isn't reverse encryption
A website may decrypt a password's network transport when you sign in, but that doesn't mean it should keep a reversible copy of the password in its database.
OWASP's password-storage guidance recommends specialized password hashing for ordinary account verification. Hashing creates a value designed to be checked without offering a decryption operation that recovers the original password.
At login, the site applies the password-checking process to what you've entered and compares the result with the stored information. It doesn't need to decrypt a stored password to decide whether it matches.
Attackers can still try guesses against stolen hashes, which is why strong passwords and properly configured password hashing matter. “One-way” doesn't mean every password is impossible to discover.
Readable doesn't automatically mean untampered
Some encryption methods also check whether protected data has been altered. This is called authenticated encryption, and the receiving operation checks authenticity as well as recovering the contents.
The authenticated-encryption standard describes an outcome of either recovered plaintext or a failure result when authentication doesn't pass. Ordinary decryption alone shouldn't be treated as proof that a message is intact or trustworthy.
For a private document, a useful question to ask a service is whether it decrypts the file on its own servers. An encrypted upload can still allow the service to inspect the contents once they arrive.
Private Keys: The Secret Half Has Different Jobs

Hybrid Encryption: Two Kinds of Keys, One Protected Message

Confidentiality: Who Gets to Read Your Information?

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