Cryptographyintermediate3 Modules~2 Hours

Applied Cryptography & Key Management

Cryptography · Defensive Security & Practical Engineering

Applied cryptography engineering: authenticated encryption (AEAD), Argon2/scrypt password hashing, CSPRNG usage, key rotation, and timing-safe verification.

Learning Objectives

  • Choose modern AEAD ciphers (AES-GCM, ChaCha20-Poly1305) over unauthenticated modes.
  • Hash passwords exclusively with salted memory-hard KDFs rather than fast SHA hashes.
  • Use CSPRNGs and constant-time equality checks for tokens and MACs.

Prerequisites

Basic math intuition and familiarity with hexadecimal/base64 encodings.

Course Syllabus (3 Modules)

  1. Module 1

    Authenticated Encryption (AEAD) & Nonce Rules

    Understand why encryption without integrity fails and why nonce reuse is catastrophic.

    30 min
  2. Module 2

    Password Hashing (KDFs) & Secure Randomness

    Protect stored credentials with memory-hard KDFs and generate secrets with OS CSPRNGs.

    30 min
  3. Module 3

    Timing-Safe Comparisons & Key Lifecycle

    Avoid byte-by-byte string comparisons on MACs and plan clean key rotation.

    25 min