Use this when choosing encryption to protect data.
Encryption · Data Security
Encryption in data security makes data unreadable without a key, protecting it at rest and in transit. Its strength depends on modern algorithms like AES-256-GCM and on how keys are stored and managed.
1. Encryption protects confidentiality; keys decide security.
2. Approved algorithms.
3. Central key management.
4. Rotate keys.
5. Monitor coverage.
data + key (KMS) → encrypted data
Context & applicabilityCommon mistakes · platform/version boundaries
- Keys stored next to the encrypted data.
- Home-made encryption instead of libraries (libsodium, Tink).
- No key rotation or no plan for revoking compromised keys.
- Encryption without integrity (AES-CBC without MAC).
- Backups of encrypted data without backups of the keys.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Use modern algorithms such as AES-256-GCM.
- Key management decides how secure encryption really is.
- Encrypt both at rest and in transit.
- Encryption policy (algorithms, key management) — standard
- Key management (KMS/HSM) — keys
- Coverage report — gaps
ReferenceWhy it matters1 section · depth on demand
Where to encrypt
| Location | Typical tool |
|---|---|
| Laptops and servers | BitLocker, FileVault, LUKS |
| Databases | TDE, column/field encryption |
| Cloud storage | Server-side encryption with KMS (customer-managed keys for sensitive data) |
| Backups | Backup software encryption, separate keys |
| Network | TLS 1.2/1.3, IPsec, MACsec |
| Files/emails | Purview/AIP labels with encryption, S/MIME, PGP |
Key management is the critical part: who can access keys, how they rotate, and how recovery works.
ReferenceImportant terms & boundaries2 sections · depth on demand
Choosing algorithms
In depth
Encryption in data security protects data at rest, in transit and increasingly in use, according to its classification. The key questions are what to encrypt, at which layer, and who controls the keys.
| Data | Layer | Key control |
|---|---|---|
| Laptops/servers | Full-disk encryption | TPM + escrowed recovery keys |
| Databases with personal data | TDE plus column/field encryption for sensitive fields | KMS/HSM with separated duties |
| Cloud storage | Server-side with customer-managed keys | Cloud KMS |
| Backups | Backup software encryption | Keys stored separately |
| Data shared externally | File or message encryption, rights management | Labels with encryption |
Key management determines effectiveness: encryption with keys stored next to the data, or accessible to everyone with system access, protects little.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Data Security → Encryption. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/209/final · confidence 94%