Use Cases
How the primitives come together in production
The Learn catalog covers what each primitive is — RSA, AES, Diffie-Hellman, JWTs. This is the other half: the real systems built out of them, and the operational decisions that don't show up in a protocol spec. Each use case links back to the Learn modules that cover the underlying math, rather than re-explaining it.
Key Management
Every cloud KMS — AWS KMS, GCP Cloud KMS, Azure Key Vault, HashiCorp Vault — uses the same pattern to encrypt data without ever moving your master key. Here's why, and how it actually works.
20 minKey wrapping and key exchange: moving keys without ever exposing themEnvelope encryption covers wrapping a key with your own KMS. This is about the broader problem: getting a key from one system, person, or organization to another — without it ever existing in the clear outside a trust boundary.
18 minPKCS#11: the standard behind every HSM and smart cardWrapping and unwrapping keys, covered so far, all happens somewhere. PKCS#11 is the standard interface that lets an application talk to that somewhere — an HSM, a smart card, a USB token — without caring which vendor built it.
24 minPayments
How a card PIN is packaged, encrypted at the point of entry, and re-encrypted hop by hop across acquirer, network, and issuer — without ever existing in the clear outside a hardware security module.
18 minCVV/CVC: the three digits that never survive an authorizationHow the card verification value printed on the back of a card is generated, why the magstripe and card-not-present versions deliberately don't match, and why PCI DSS treats storing it as an absolute rule, not a guideline.
14 minEMV chip authentication: the conversation behind every chip transactionHow a chip card and an issuer's host cryptographically prove to each other that they're both genuine, transaction by transaction — using a key that exists nowhere outside that one card and a cryptogram that's never reused.
20 min3-D Secure and tokenization: protecting a transaction that never touches a chipCard-not-present purchases can't rely on a physical chip proving anything — so 3-D Secure authenticates the cardholder instead, and tokenization makes sure the real card number is never the thing worth stealing in the first place.
16 min