General concepts
Encryption vs. hashing
Encryption transforms data so that only someone with the key can read it, and it is reversible. It can be symmetric (one shared key) or asymmetric (a public and private key pair). Hashing produces a fixed-length value and is one-way: the original text cannot be recovered.
On the exam
In SC-900 you are asked what each one is for: salted hashing is used to store passwords and verify integrity; encryption protects data at rest, in transit (TLS), or in use. Whatever is encrypted with the recipient's public key can only be decrypted with their private key.
Related terms
- Azure Key VaultA service for securely storing and managing secrets (passwords, connection strings), encryption keys, and certificates. It centralizes secrets management and removes the need to hard-code them in application code.
- Defense in depthA strategy that protects data with several layers of security: physical, identity and access, perimeter, network, compute, application, and data. If one layer fails, the next ones keep protecting and slow the attacker down.