Applied Cryptography
Choose and use cryptographic primitives correctly for confidentiality, integrity and authenticity, manage their keys, and recognise common misuse in real code and configuration.
4 objectives 6 steps about 125 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Select the right primitive (authenticated encryption, hash, MAC, digital signature or key exchange) for a stated security requirement and justify the choice.
- Store and verify passwords with an adaptive or memory-hard hashing function and defensible parameters.
- Design key generation, storage, rotation and destruction for an application using a KMS or vault instead of hard-coded keys.
- Identify cryptographic misuse in code or configuration, such as ECB mode, nonce reuse, weak randomness or disabled certificate validation, propose a fix, and outline post-quantum migration readiness.
Lesson plan
6 steps, about 125 min · 5 of 5 lessons available so far
- Matching Primitives to Security Requirements Concept · 20 min
- Authenticated Encryption and Signatures in Code Worked example · 25 min
- Password Storage That Survives a Database Leak Lab · 25 min
- Key Lifecycle and Envelope Encryption Concept · 20 min
- Spotting Crypto Misuse and Planning for Post-Quantum Worked example · 20 min
- Applied Cryptography Check Knowledge check · 8 questions
Practise it
Using a well-maintained library (for example libsodium or the Python cryptography package), build a small CLI that encrypts files with an authenticated cipher under a per-file data key wrapped by a master key, stores user passwords with Argon2id, and passes tests that detect tampered ciphertext and wrong-key decryption.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own BitTorrent ClientIntermediate · 12–24 h
- Build your own VPNAdvanced · 15–30 h
- Build your own BlockchainIntermediate · 8–16 h
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.