← TeachingCourse · Fall 2026Current

Applied Cryptographic Engineering

Role InstructorWhere AzTU, Baku

Visual explainers for the course. Each one runs in the browser: change the inputs, step through the algorithm or the attack, and see exactly where things go right or wrong.

Symmetric encryption

Authentication and passwords

A timing leak in a MAC check

An early-exit comparison takes longer the more leading bytes match. Measure it and recover a secret tag one character at a time.

memcmp · constant-time compareOpen →

Storing passwords: salt and cost

Why identical passwords must not give identical hashes, and why a password hash should be slow on purpose.

SHA-256 · PBKDF2 · bcrypt · Argon2idOpen →

Replay protection

Sequence numbers and sliding windows: why a valid MAC is not enough.

counter · window · nonceComing soon

HMAC and length extension

Why H(key ‖ message) is not a MAC, and how HMAC fixes it.

SHA-256 · HMACComing soon

Deriving keys with HKDF

One secret in, many independent keys out: extract, then expand.

RFC 5869 · salt · infoComing soon

Public keys and protocols

Forward secrecy

An eavesdropper records three sessions and steals the server key years later. With RSA key transport every session opens; with ephemeral Diffie–Hellman none does.

RSA key transport vs (EC)DHEOpen →

Hybrid encryption with RSA-OAEP

Encrypt the data with AES, encrypt the AES key with RSA, and handle errors safely.

RSA-OAEP · DEK · AEADComing soon

Signing software updates

Trust, version checks and what happens when the signing key leaks.

Ed25519 · rollbackComing soon

Validating a certificate chain

Break one field at a time and watch which check fails.

X.509 · chain · revocationComing soon

TLS 1.3 handshake and key schedule

Messages on the wire, and the HKDF tree that turns one shared secret into all traffic keys.

RFC 8446 · 1-RTT · 0-RTTComing soon

Operations

Envelope encryption with KMS and HSM

Data keys, key-encryption keys and rotation without re-encrypting everything.

DEK · KEK · rotationComing soon

Planning the post-quantum migration

Hybrid key exchange, key and signature sizes, and a migration plan.

ML-KEM · ML-DSA · SLH-DSAComing soon