Lesson 4 / 8
Module 2Lesson 2⏱ 50 min study

Lesson 4: Cryptography & Disk Encryption: BitLocker, VeraCrypt & Key Management

Explore symmetric and asymmetric encryption principles, configure Full Disk Encryption with BitLocker and VeraCrypt, and master high-entropy password managers and FIDO2 passkeys.

✦ Key Architectural Takeaways
  • •Symmetric encryption (AES-256) uses a single secret key for both encryption and decryption, offering rapid throughput for stored files.
  • •Asymmetric encryption (RSA/ECC) utilizes a mathematically linked public-private keypair, powering SSL/TLS handshakes and digital signatures.
  • •Full Disk Encryption (FDE) with BitLocker ties storage encryption to the computer's Trusted Platform Module (TPM 2.0), rendering data unreadable if the drive is stolen.
  • •Password entropy measures the computational difficulty of guessing a password based on character pool variety and length.
  • •Passkeys replace shared secrets with public-key cryptography tied to device biometric sensors, making credential theft via phishing impossible.

1. Symmetric vs. Asymmetric Encryption

Modern digital security relies upon two distinct branches of cryptography:

TEXTSYSTEM SCHEMATIC
Symmetric Encryption (Single Secret Key - Ultra-Fast):
Plaintext [ "Confidential" ] + Secret Key [ K ] === AES-256 ===> Ciphertext [ 8f4a... ]
Ciphertext [ 8f4a... ]       + Secret Key [ K ] === Decrypt ===> Plaintext [ "Confidential" ]

Asymmetric Encryption (Public / Private Keypair):
Plaintext [ "Message" ] + Public Key [ Free to share ] ===> Encrypted Payload
Encrypted Payload       + Private Key [ Kept secret! ] ===> Decrypted Message
§

2. Full Disk Encryption (FDE): BitLocker & VeraCrypt

If a laptop without disk encryption is lost or stolen, an attacker can simply remove the NVMe SSD, plug it into a secondary PC, and read all files without knowing the Windows user password!

TEXTSYSTEM SCHEMATIC
+-------------------------------------------------------------+
|               Full Disk Encryption with TPM 2.0             |
+-------------------------------------------------------------+
| 1. Physical Hardware: Motherboard houses TPM 2.0 Security Chip|
| 2. Boot Integrity: TPM verifies BIOS firmware hasn't been tampered|
| 3. Key Release: TPM automatically releases the AES master key|
|    only if boot sequence is verified.                       |
| 4. Stolen Drive: If SSD is removed, TPM key is missing.     |
|    Drive appears as raw randomized encrypted static!        |
+-------------------------------------------------------------+

Setting Up Full Disk Encryption

  • BitLocker (Windows Pro/Enterprise): Search for "Manage BitLocker" in Control Panel -> Turn on BitLocker -> Save your 48-digit Recovery Key to a secure secondary location.
  • VeraCrypt (Cross-Platform / Windows Home / Linux): Free open-source full disk and volume encryption supporting AES, Serpent, and Twofish cascading ciphers.
§

3. Password Entropy & Passkey Authentication

A password's security is measured by its entropy (in bits):

∑Mathematical Formulation & Principle
THEORETICAL MODEL
Entropy = L cdot log_2(R)

Where L is password length and R is character set size.

TEXTSYSTEM SCHEMATIC
Weak: "Password123!" (Length: 12, common dictionary words) -> Cracked in seconds by GPU clusters
Strong: "correct-horse-battery-staple" (Length: 28, high entropy) -> Centuries to brute-force
Security StandardAuthentication MethodResistance to PhishingResistance to Credential Stuffing
Traditional PasswordShared secret stored in server DBZero (easily stolen)Zero (breached database leaks password)
SMS 2-Factor AuthOne-Time Code via CellularLow (SIM swapping risk)Moderate
Authenticator AppTOTP Algorithm (6-digit code)Moderate (can be phished)High
FIDO2 PasskeysHardware Enclave Cryptographic KeysComplete ImmunityComplete Immunity