Teaching article

A symbol message is readable only with its key

Distinguish the message from the shared mapping used to read it.

A star can stand for a particular letter under one invented mapping and something else under another. Keep the key beside the message so disagreement about decoding can be traced to the agreed convention.

A star mapped to A means A only under this key.

Check the mapping before the message

  1. Read the mapping.
  2. Decode a short message.
  3. Check by re-encoding.

Keep the key beside the message during the first attempt. A disagreement about the mapping should be resolved before interpreting the output.

Did both readers use the same key? Use three symbols first.

This classroom substitution is not secure encryption.

Resources

Further reading

Read next

Explore Coding and computational thinking. Browse all teaching articles.