Encryption & Data Protection

Key Takeaways

  • Symmetric encryption (AES) uses one shared key and is fast for bulk data; asymmetric encryption (RSA, ECC, Diffie-Hellman) uses a public/private key pair and is slow, so it is used to exchange the symmetric session key.
  • HTTPS/TLS uses asymmetric crypto only to authenticate the server and agree on a session key, then switches to fast symmetric AES for the actual data — this is the hybrid model the exam tests.
  • BitLocker performs full-disk encryption (AES-128 or AES-256) and prefers a TPM; without a TPM it needs a startup USB key or PIN, and it is available only in Windows Pro/Enterprise editions.
  • EFS encrypts individual files/folders tied to the user's certificate, while BitLocker encrypts whole volumes against physical theft — losing the EFS key without backup makes files unrecoverable.
  • Protect data in three states: at rest with full-disk encryption (BitLocker/FileVault), in transit with TLS/VPN/SSH, and in use with access controls; never click through a public-site certificate warning.
Last updated: June 2026

Symmetric vs Asymmetric Encryption

Encryption questions on 220-1202 hinge on one idea: symmetric is fast but has a key-distribution problem; asymmetric solves distribution but is slow. Real systems combine both.

Symmetric (one shared key)

  • The same key encrypts and decrypts.
  • Fast enough for bulk data (full-disk, Wi-Fi, VPN payloads).
  • Weakness: both sides must already share the key secretly.
AlgorithmKey lengthStatus
AES128 / 192 / 256-bitCurrent standard — BitLocker, TLS, WPA2/3
3DES168-bit (effective 112)Legacy, being retired
DES56-bitObsolete — broken

Asymmetric (key pair)

  • A public key and a mathematically linked private key.
  • Anyone encrypts with your public key; only your private key decrypts.
  • Slow, so it is used for key exchange and digital signatures, not bulk data.
AlgorithmTypical use
RSACertificates, signatures, key exchange
ECCSame security with smaller keys — mobile/IoT
Diffie-HellmanNegotiates a shared secret over an open channel

How HTTPS Actually Works (Hybrid)

  1. Client connects to the server on port 443.
  2. Server presents its digital certificate containing its public key.
  3. Client validates the cert against a trusted Certificate Authority (CA) chain.
  4. Both sides use asymmetric crypto to agree on a one-time symmetric session key.
  5. All page data flows under fast symmetric AES.

Why hybrid: asymmetric solves the secret-sharing problem at the start, then symmetric handles the heavy lifting because asymmetric encryption of every packet would be far too slow. Hashing (SHA-256) is separate again — it verifies integrity and stores passwords, and is one-way (no decryption).


Data Protection States

StateWhere it livesProtection
Data at restDrives, databases, backupsFull-disk encryption (BitLocker, FileVault), EFS
Data in transitCrossing a networkTLS/HTTPS, VPN, SSH, encrypted email
Data in useLoaded in RAM/CPUAccess controls, process isolation, secure enclaves

A laptop stolen from a car illustrates all three: full-disk encryption protects the drive at rest, a VPN would have protected anything it sent in transit, and screen-lock plus least privilege guard data in use.


Windows Encryption Tools

BitLocker — Full-Disk Encryption

  • Encrypts entire volumes with AES-128 or AES-256.
  • Prefers a TPM chip to seal the key to the hardware; without TPM it requires a startup USB key or boot PIN.
  • Available only in Windows Pro and Enterprise, not Home.
  • BitLocker To Go encrypts removable USB drives.
  • Save the recovery key to a Microsoft account, AD/Entra, USB, or print — losing it locks you out permanently.

EFS — Encrypting File System

  • Encrypts individual files/folders, not whole drives.
  • Tied to the user's certificate; transparent while that user is logged in.
  • Also Pro/Enterprise only; if the user profile/certificate is lost without backup, files are unrecoverable.

BitLocker vs EFS: BitLocker defends against physical theft of the whole drive; EFS defends against another user on the same machine opening your files. macOS uses FileVault for full-disk encryption.


Certificates and PKI

ComponentPurpose
Certificate Authority (CA)Trusted issuer (DigiCert, Let's Encrypt)
Digital certificateBinds a public key to an identity
Certificate chainRoot CA → intermediate → server cert
Revocation (CRL/OCSP)Invalidates a compromised cert early

Browser Certificate Warnings

  • Expired — past its validity date.
  • Self-signed — not from a trusted CA (common internally).
  • Name/domain mismatch — cert name differs from the URL.
  • Revoked — invalidated for compromise.

Rule: never click through a certificate warning on a public website. It can mean an impostor site or an on-path attacker. Proceed only on an internal host where you trust a known self-signed certificate.


Hashing vs Encryption, and Mobile Encryption

The exam routinely contrasts hashing with encryption, and confusing the two costs points. Encryption is reversible with a key; hashing is a one-way fingerprint with no key and no way back. Hashes (MD5 is broken; SHA-256 is current) verify that a downloaded file was not altered and store passwords so the plaintext is never kept. A salt adds random data to each password before hashing so identical passwords produce different hashes, defeating precomputed rainbow tables.

A quick decision guide:

  • Need to read the data back later? Use encryption (AES for bulk, RSA/ECC for key exchange).
  • Need only to verify integrity or store a password? Use a salted hash.
  • Need to prove who sent something? Use a digital signature — the sender hashes the message and encrypts the hash with their private key; anyone verifies it with the public key. This provides integrity and non-repudiation at once.

Mobile and Removable Media

Modern phones encrypt storage by default once a screen lock is set, and full-device encryption is mandatory on managed devices through Mobile Device Management (MDM). For removable drives, BitLocker To Go on Windows and hardware-encrypted USB keys protect data if the stick is lost. A remote wipe through MDM destroys data on a stolen device.

Exam scenario: an executive's encrypted laptop is stolen but powered off. Because the volume was encrypted at rest with BitLocker and the recovery key was escrowed in Active Directory, the data is unreadable to the thief and recoverable by IT — the textbook payoff of encrypting data at rest. The lesson the exam reinforces is that encryption only helps if it is enabled BEFORE the loss and the recovery key is safely backed up.

Test Your Knowledge

During an HTTPS session, why does the browser switch from asymmetric encryption to a symmetric session key after the handshake?

A
B
C
D
Test Your Knowledge

A technician must encrypt an entire laptop drive so a stolen laptop's data cannot be read. The laptop runs Windows 11 Pro with a TPM. Which tool fits best?

A
B
C
D
Test Your Knowledge

A user visits their public banking site and the browser shows a certificate name-mismatch warning. What is the correct action?

A
B
C
D