Cryptography · Study deck
Cryptography Route Map
Picture a health reading leaving a wearable, crossing a home bridge, and entering a clinical service.
Shield Shelly is your guide for this deck.

After studying this chapter
Learning objectives
You will be able to:
- choose a learning path through confidentiality, integrity, identity, freshness, and key lifecycle topics;
- route an IoT security claim to the right chapter group without confusing link, transport, object, and key-renewal layers;
- identify which chapters provide implementation practice and which chapters provide release-review evidence;
- assemble a lightweight evidence checklist for cryptography decisions before reading the detailed chapters.
Major section
In 60 Seconds
Encrypting one link is not enough if an unnamed reader can copy or change the record at the next boundary.
- A protocol is a shared set of rules for exchanging data.
- An API is a named software entry point used by another program.
- A gateway is the device or service that joins two system paths.
Major section
In 60 Seconds (continued)
Firmware is the stored device code and its version.
- This runway does not choose one cipher or key system.
- The deeper route map connects security goals, primitives, identity, key life, protected transport, protected messages, and release evidence.
- This book is the cryptography and encryption route map for IoT systems.
Major section
How to Use This Book
Cryptography fails most often at the boundary around the primitive: the wrong data is protected, the wrong endpoint is trusted, a key outlives its purpose, or evidence proves only the happy path.
- This book is organized to keep those decisions visible.
Major section
Evidence Loop
Every chapter in this book points back to the same release-review loop: name the claim, place the boundary, choose the primitive or protocol, prove key lifecycle, run negative tests, and keep evidence without leaking secrets.
- Evidence then returns to the claim; a mismatch reopens the design instead of being filed as a pass.
Major section
Property-to-Primitive Review Map
Cryptography is a toolbox, not one universal control.
- The first review move is to name the property required by the claim, then pick the primitive or protocol that actually proves that property.
- A nonce does not prove integrity unless it is bound into an authenticated protocol.
- In an IoT review, the property should be written as a testable claim. "Telemetry is encrypted" is not enough.
Major section
Hybrid Protocol Pattern
Asymmetric mechanisms such as ECDH, signatures, and certificates solve key agreement and identity problems, but they are not the right tool for bulk telemetry.
- Symmetric AEAD modes such as AES-GCM and ChaCha20-Poly1305 protect most records after the protocol has established session keys.
- TLS 1.3 is the familiar hybrid pattern: authenticated key agreement establishes fresh secrets, a KDF derives traffic keys, and symmetric record protection carries the data.
- DTLS 1.3 adds datagram-specific evidence for loss, reordering, retransmission, and replay windows.
Major section
Hashes, Keys, and Failure Behavior
Anyone who can edit a message can compute a new digest.
- Modern reviews should also reject broken or misplaced hashes.
- MD5 and SHA-1 are broken for collision resistance and should not be used where collision resistance matters.
- Key lifecycle is the operational part of cryptography.
Deck summary
Key takeaways
Encrypting one link is not enough if an unnamed reader can copy or change the record at the next boundary.
- Firmware is the stored device code and its version.
- Cryptography fails most often at the boundary around the primitive: the wrong data is protected, the wrong endpoint is trusted, a key outlives its purpose, or evidence proves only the happy path.
- Every chapter in this book points back to the same release-review loop: name the claim, place the boundary, choose the primitive or protocol, prove key lifecycle, run negative tests, and keep evidence without leaking secrets.
- Cryptography is a toolbox, not one universal control.
Retrieval practice
Recall check 1 of 5

Shield Shelly says: answer from memory, then check your reasoning.
Q1A message must prove it was not altered and came from the expected sender, but secrecy is not required. Which primitive fits?
Show answer
Answer: A Integrity and origin evidence come from a MAC or signature; encryption is not required for this claim.
Retrieval practice
Recall check 2 of 5

Shield Shelly says: answer from memory, then check your reasoning.
Q2A fleet uses AES-256 correctly but hard-codes one shared key into every device. What is the main risk?
Show answer
Answer: A The cipher can be strong while key scope, storage, and revocation make the deployment unsafe.
Retrieval practice
Recall check 3 of 5

Shield Shelly says: answer from memory, then check your reasoning.
Q3A team says a gateway may decrypt device messages before forwarding them to a cloud service, but the product page claims end-to-end confidentiality. Which chapter should they read first?
Show answer
Answer: A The first issue is the claim boundary: who can see plaintext and where the protected layer ends.
Retrieval practice
Recall check 4 of 5

Shield Shelly says: answer from memory, then check your reasoning.
Q4A device fleet uses a shared key and has no way to revoke a single device. Which chapter group should be prioritized?
Show answer
Answer: A Shared-key blast radius and revocation are lifecycle problems before they are protocol problems; the issue is key scope, containment, revocation, and old-key rejection.
Retrieval practice
Recall check 5 of 5

Shield Shelly says: answer from memory, then check your reasoning.
Q5A datagram-based protocol needs encrypted communication without changing its transport behavior. Which route is most useful?
Show answer
Answer: A DTLS handles datagram transport, while E3-E4 clarifies what the transport session does and does not protect.
Q6Complete a small router that selects the next chapter group for a cryptography review:
Show answer
Answer: A A review route starts with unclear plaintext boundaries, then missing key lifecycle, then release checks and labs once the design is coherent.
Print reference
Answers 1 of 2
Answer key.
- A · Integrity and origin evidence come from a MAC or signature; encryption is not required for this claim.
- A · The cipher can be strong while key scope, storage, and revocation make the deployment unsafe.
- A · The first issue is the claim boundary: who can see plaintext and where the protected layer ends.
- A · Shared-key blast radius and revocation are lifecycle problems before they are protocol problems; the issue is key scope, containment, revocation, and old-key rejection.
Print reference
Answers 2 of 2
Answer key.
- A · DTLS handles datagram transport, while E3-E4 clarifies what the transport session does and does not protect.
- A · A review route starts with unclear plaintext boundaries, then missing key lifecycle, then release checks and labs once the design is coherent.