Chapter 11 of 22Part III: Trust, Cryptography & Security
The Art of Secret Messages
Each chapter features three guided investigations aligned with the book and Interactive Lab. Work through them in order, record predictions, and test edge cases.
Project 1 of 3 · v1-c11-p01
The secret alphabet
Lab section: A. The secret alphabet · Related code: block-01.js
Objective: Investigate "The secret alphabet" experimentally in the Chapter 11 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 11 Interactive Lab and select "A. The secret alphabet".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 11 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "A. The secret alphabet" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 11.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 11 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "The secret alphabet" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "The secret alphabet" make visible that you would not notice from using a finished app?
Lab section: B. The pattern detective · Related code: block-02.js
Objective: Investigate "The pattern detective" experimentally in the Chapter 11 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 11 Interactive Lab and select "B. The pattern detective".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 11 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "B. The pattern detective" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 11.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 11 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "The pattern detective" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "The pattern detective" make visible that you would not notice from using a finished app?
Lab section: C. Agree on a secret · Related code: block-03.js
Objective: Investigate "Agree on a secret" experimentally in the Chapter 11 Interactive Lab and connect the observed behavior to the chapter's underlying rule.
Procedure
Open the Chapter 11 Interactive Lab and select "C. Agree on a secret".
Record a prediction in your notebook before changing any controls, then run at least three distinct test inputs.
Inspect the corresponding JavaScript snippet(s) on the Chapter 11 Code page and trace how the algorithm computes the output.
Test a boundary or failure case (for example, invalid input, noise, or an extreme parameter) and explain why the system behaves as it does.
Sample Input: Baseline preset in "C. Agree on a secret" followed by one modified parameter or boundary test case.
Expected Observation: Deterministic visual/numeric state update in the lab panel matching the mathematical model for Chapter 11.
Show Hint & Extension Challenge
Hint: Check the worked example and equation in the Chapter 11 Lesson before testing edge cases.
Extension Challenge: Design an adversarial or edge-case input that exposes a limit of the model in "Agree on a secret" and document what real-world standard addresses it.
Reflection Question: What real-world constraint or trade-off did "Agree on a secret" make visible that you would not notice from using a finished app?