Here are 2 simple ways to introduce the idea of encryption to elementary school kids.
Ciphers
I had them try to decode the following code:
4 15 7
(with some prodding they eventually figured out it was a simple letter-number cipher spelling “dog”)
Mastermind
You might recognize this game from your own childhood.
You don’t need to buy it. You can play it with different color marbles, bingo chips, coins or almost any set of things lying around the house.
How to play:
a) Identifies how many of the colors used are correct
b) Identifies how many beads are the right color AND in the right position
Enrichment questions:
How can the game be made easier?
How can the game be made harder?
And if you have an older onlooker…how many possible codes can be created?
And if you have an Excel fan in the vicinity, see how you can solve such problems using the hypergeometric distribution. (A Reddit thread targeting game designers)
Suppose a group of people are sitting around a table and you all want to know how much money everyone makes but of course nobody is willing to share their own salary.
Here’s a way to uncover the average pay at the table without anybody needing to disclose their pay.
Let’s pretend A, B, C, and D are having dinner together at this table.
Just follow these steps:
Masking Phase
Un-masking Phase
The remaining total is the sum of everyone’s pay. If we divide by 4 (the number of people) we have discovered the average pay at the table and nobody needed to reveal their own number!
You have learned a simple way to “mask” data with arbitrary numbers!
Try it yourself. You don’t even need paper — just explain the rules to some friends in your texting group and find out if you are actually under or overpaid! Just don’t kill the messenger.
(The mask example was inspired by this Twitter thread by @theemilyaccount)
A great Munchie today. As usual, I highlight the parts I want to keepsake and…
Workflows are Moontower’s screeners organized around what you’re trying to do: sell premium (Income), buy…
Exponential Wealth: Centuries of Stock and Bond Returns free PDF · 380 pp. In 1976,…
Note of an Instagram Experiment I’m trying something new that has become much easier with…
At the Robinhood Summit last week, Mat Cashman and I hosted a “Trading Lab” emphasizing…
Mat Cashman and I did a teach-in session to a large audience of conference-goers who…