Protecting exposed sensitive data
Sensitive data can be read when a storage device, file, message, or network connection is exposed. Encryption changes readable data into protected data that requires the proper key to recover. Short scenarios often ask whether encryption protects data at rest, data in transit, or a related service such as key exchange or authentication.
Confidentiality, privacy and breach impact connects this control to unauthorized disclosure. Encryption does not replace access controls, safe key management, or privacy controls. Obfuscation, tokenization and data loss prevention distinguishes other ways to protect sensitive data, while Protecting regulated data end to end places encryption within the full data life cycle.
The structure separates the basic transformation from the techniques and applications that use it.
Plaintext, ciphertext, techniques and applications
Plaintext is changed into ciphertext when an algorithm operates with a key. Decryption uses the proper key and algorithm to recover plaintext. The three branches are fundamentals, techniques, and applications.
Loading diagram…
The diagram is a taxonomy, not a process or decision tree.
NIST CSRC defines encryption as “The process of changing plaintext into ciphertext for the purpose of security or privacy.” NIST CSRC defines decryption as “The process of changing ciphertext into plaintext.”
NIST FIPS 197 covers AES. NIST FIPS 180-4 covers approved hash functions. NIST FIPS 186-5 covers digital signatures. NIST SP 800-38D covers authenticated encryption with GCM. RFC 8446 covers TLS.
The diagram gives every scenario a place. First identify the basic object or operation, then the cryptographic technique, then the use.
Algorithms, keys and cryptographic methods
An algorithm is the method, while a key controls the particular operation. Keeping the algorithm public does not protect data if a secret or private key is exposed.
Symmetric encryption uses one shared secret key and is efficient for bulk data. The parties must protect and distribute that shared key.
Asymmetric encryption uses a related public and private key pair. The public key may be shared, while the private key must be protected.
Public-key methods support key establishment and digital signatures. Symmetric methods commonly protect the resulting session data.
Hashing maps input to a fixed-length digest and is designed to be one-way. A hash is not decrypted and does not provide confidentiality by itself.
NIST SP 800-57 Part 1 Revision 5 explains key-management concepts.
| Branch | Part | What it covers | Clue words in a scenario |
|---|---|---|---|
| Fundamentals | Plaintext and ciphertext | Plaintext is original readable data; ciphertext is transformed protected data. | readable, original, encrypted, scrambled, ciphertext |
| Fundamentals | Algorithm | The defined cryptographic method transforms data according to a key. | algorithm, cipher, AES, cryptographic method |
| Fundamentals | Key and key management | A key controls the operation; management covers its full life cycle. | secret key, public key, private key, rotate, revoke, store |
| Fundamentals | Encrypt and decrypt | Encryption creates ciphertext; decryption recovers plaintext. | encrypt, decrypt, recover, unlock, readable again |
| Techniques | Symmetric encryption | The same shared secret key performs encryption and decryption. | same key, shared secret, bulk data, session key |
| Techniques | Asymmetric encryption | A related public and private key pair supports key establishment, encryption, signing, and verification. | public key, private key, key pair, sign, verify |
| Techniques | Hashing | A one-way function creates a fixed-length digest without decryption. | digest, one-way, fixed-length, cannot decrypt, password verifier |
| Applications | Data at rest | Encryption protects files, databases, backups, disks, and other stored data. | database, disk, backup, stored file, media |
| Applications | Data in transit | Encryption protects data moving across a network or communication link. | network, message, browser, server, TLS, intercepted |
| Applications | Key exchange | Key-agreement methods help parties establish a shared session secret. | handshake, establish a session key, shared secret, open network |
| Applications | Integrity, authentication and nonrepudiation | Hashes and MACs detect changes or authenticate messages; signatures support verification and may support nonrepudiation. | changed, tampered, verify, signature, MAC, origin |
Encryption at rest protects stored files, databases, backups, disks, and other media. Encryption in transit protects messages moving across networks. TLS combines public-key operations for authentication or key establishment with symmetric protection for session data.
Key exchange establishes a shared session secret over an open network. Integrity and authentication can use a MAC or authenticated encryption. Digital signatures use a private key to sign and a public key to verify. Signatures can support nonrepudiation when identity and key control are reliable.
Encryption does not protect plaintext after an authorized system decrypts it. It also does not fix exposed keys or poor access control.
These distinctions move from what encryption manipulates to how it operates and where it is used.
Identifying encryption concepts from clues
Each scenario uses words that identify one part of the structure. A shared secret points to symmetric encryption, stored records point to data at rest, a session secret points to key exchange, and a one-way digest points to hashing.
Practice
A company encrypts a file before sending it to a partner. Both parties received the same secret key through a protected channel, and that key is used to encrypt and decrypt the file. Which part of the structure does this describe?
A database stores customer records in encrypted form on its disks. The records are changed back to readable form only when an authorized application has the key. Which application is shown?
A browser verifies a server signature with the server public key, and the handshake establishes a shared session key before the session data is sent. Which application of the structure is shown by the public-key step?
A system stores a password verifier as a fixed-length one-way digest and does not decrypt it to check a login. This scenario belongs to hashing.
The final distinctions are fundamentals first, techniques second, and applications third.
Encryption, key management and security services
- Plaintext is readable input; ciphertext is transformed output.
- An algorithm is the method; a key selects its specific operation.
- Protect keys through their life cycle because exposed keys defeat confidentiality.
- Encryption creates ciphertext; decryption recovers plaintext with the proper key.
- Symmetric encryption uses one shared secret and suits bulk data.
- Asymmetric encryption uses a public/private pair for key exchange and signatures.
- Hashing makes a fixed-length one-way digest; it is not reversible encryption.
- At-rest encryption protects stored data.
- In-transit encryption protects data moving across networks.
- Key exchange helps parties establish a shared session secret.
- Integrity and authentication can use MACs; digital signatures can also support nonrepudiation, so encryption alone does not provide every security service.
Unlock the full lesson and continue reading
Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

