Foundations
Encryption and hashing
Separate confidentiality, integrity checks, and recoverable secrets.
Recover the message, or compare it?
Encryption transforms readable plaintext into ciphertext. An authorized holder of the right key can decrypt it. Use it when the original information must be recovered later.
Hashing computes a digest from input. It is designed as a one-way operation: there is no decryption key. Recomputing a digest lets you compare data without treating the digest as an encrypted copy.
Keys and data states
| Concept | Meaning |
|---|---|
| Symmetric encryption | A shared secret key encrypts and decrypts |
| Asymmetric cryptography | A public/private key pair supports operations such as encryption or signatures |
| At rest | Data stored on a disk or in a database |
| In transit | Data moving between systems, such as over TLS |
| In use | Data being processed; confidential computing can protect certain processing environments |
A signature supports checking origin and integrity; signing does not itself hide the message. A hash is not a signature: anyone can recompute an ordinary hash.
A study-file example
You want to send your private notes to a friend and later read them again: encryption fits that requirement. You download a large public study archive and want to check whether its bytes match a digest published by a trusted source: hashing fits that requirement.
If an attacker can replace both the archive and its published digest, the comparison alone does not establish trust. The source of the expected digest matters.
Passwords need special handling
A password verifier should not need to recover the original password. Password systems use purpose-built password hashing with salts and a work factor, rather than treating a fast general-purpose hash as sufficient. A salt varies the input so identical passwords do not automatically share identical stored values. It does not make a weak password impossible to guess.
For SC-900, prioritize the distinction between reversible encryption and one-way comparison. Key Vault is where managed secrets and keys enter the Microsoft service picture.
Check your understanding
1. Someone asks you to “decrypt a SHA-256 hash.” What is wrong with the request?
Show explanation
A hash has no decryption operation. An attacker might guess inputs and compare their hashes, but that is guessing, not decrypting.
2. Does an encrypted disk prevent an authorized application from reading the data?
Show explanation
No. Encryption protects data under particular conditions; an authorized application can still decrypt or access it. Access controls remain necessary.
Sources
Sources consulted November 28, 2026. Examples and questions are original study exercises.