MULTIPLE SYMBOLS PER LETTER • CODEBUSTERS

Homophonic Cipher

Understand how one plaintext letter can map to several number symbols while every number still identifies only one plaintext letter.

Family Homophonic monoalphabetic substitution
Key / parameter Many ciphertext symbols distributed among plaintext letters
Text structure Ciphertext often appears as numeric tokens
01 • OVERVIEW

What is the Homophonic Cipher?

A homophonic cipher gives common plaintext letters multiple possible ciphertext symbols. For example E might encrypt as any of several numbers, while a rare letter might have only one.

The important one-way rule is that each ciphertext number decodes to only one plaintext letter. This spreads plaintext frequency across several symbols and makes simple frequency analysis less obvious.

Competition note

The cipher mechanics on this page are self-contained. Science Olympiad event formats, allowed variants, and tournament constraints can change by season; the current official Rules Manual and official clarifications take precedence.

Starting from zero?

No outside reference is assumed. Work through Foundations → Complete Reference → Encryption → Decryption in order, then use the competition and cryptanalysis sections.

02 • FOUNDATIONS

What you need to know

  • One plaintext letter may own multiple ciphertext tokens.
  • One ciphertext token must not decode to multiple plaintext letters in the same mapping.
  • Encryption may choose randomly among a letter’s allowed tokens; decryption is deterministic once the mapping is known.

Beginner glossary

Term Meaning
Homophone One of several ciphertext symbols that can represent the same plaintext letter.
Token A ciphertext symbol/number such as 04 or 71.
Reverse mapping A token→plaintext table used for deterministic decoding.
Frequency flattening Spreading common letters over multiple symbols so no single token is as frequent as the original letter.
03 • COMPLETE REFERENCE

Keep this beside you while solving

Plaintext Possible ciphertext tokens (illustrative)
E 04, 10, 20, 28, 41, …
T 11, 14, 17, 44, …
Q 24
Z one/few tokens
The exact token mapping changes by puzzle. The visualizer below always displays the complete generated mapping so you can learn how the system behaves.

The mapping is many-to-one only in the ciphertext→plaintext view

plaintext E → {04, 10, 20, 28} plaintext T → {11, 17, 44} 04 → E 10 → E 20 → E 28 → E 11 → T 17 → T 44 → T

Several tokens may decode to E, but a token such as 20 must not also decode to another plaintext letter in the same mapping.

Cryptanalysis: equal plaintext letters can appear as different tokens, so ordinary repeated-letter word patterns are weakened. Use cribs, context, token distribution, and combine suspected homophones when doing frequency reasoning.
Reference rule: if a fixed table, formula, alphabet, or convention is needed to solve this cipher, it should be visible in this section or generated explicitly by the visualizer below.
04 • ENCRYPTION

How encryption works

1

Find the plaintext letter

Example: E.

2

Look at its token set

E may have several assigned numbers.

3

Choose one allowed token

The encoder can vary the choice each time E appears.

4

Repeat

Different occurrences of the same plaintext letter may therefore look different in ciphertext.

05 • DECRYPTION

How decryption works

1

Use the number→letter mapping

Each token belongs to exactly one plaintext letter.

2

Replace every token

Different numbers may collapse to the same plaintext letter.

3

Restore spacing if indicated

Token separators make boundaries unambiguous at the symbol level.

4

Read the result

Check that the full plaintext is coherent.

06 • COMPETITION WORKFLOW

How to approach it in Codebusters practice

  • Do not assume repeated plaintext letters produce repeated ciphertext tokens.
  • For cryptanalysis, aggregate symbols that appear to behave like homophones rather than treating every number as an independent simple-substitution letter.
  • Word-pattern clues may be weakened because equal plaintext letters can have different ciphertext tokens.

What the problem gives you vs. what you produce

Part What to expect
You may be given Numeric/symbol ciphertext and possibly a crib or partial mapping.
You must find The plaintext and/or complete mapping.
Fastest first move Build a reverse token→letter table for every proven mapping and never assign one token twice.
Season note: use this page to learn the cipher mechanics and solving workflow. Exact Science Olympiad event constraints can change by season, so follow the current official rules/clarifications for tournament-specific limits.
07 • CRYPTANALYSIS

How to attack an unknown or partially known key

  • Individual token frequency is deliberately flattened compared with ordinary substitution.
  • Context, crib placement, token distributions, and the restriction that each token has one plaintext meaning become important.
  • Once two tokens are proven to represent the same plaintext letter, combine their counts when reasoning about language frequency.
08 • WORKED PROBLEM

Follow one example from start to finish

Mapping fragment
E → {10, 20, 28}; T → {11, 17}
Plaintext
T E E
Possible ciphertext
17 20 10
Decrypt
17→T, 20→E, 10→E, so different numbers can produce the repeated EE.
BEGINNER SELF-CHECK

Before moving on, make sure you can answer these without another site:

  • Can two different numbers both mean E? Yes. Can one number mean both E and T? No.
  • Can you explain why repeated plaintext letters might not repeat in ciphertext?
  • Can you combine counts of proven E-homophones when estimating E frequency?
09 • ERROR CHECK

Common mistakes

!

Assuming equal plaintext letters must have equal ciphertext tokens.

!

Allowing one number to represent two plaintext letters.

!

Using ordinary one-symbol-per-letter frequency analysis without combining suspected homophones.

!

Ignoring token boundaries.

10 • SPEED

Competition speed strategies

1

Build a reverse number→letter table as soon as mappings are known.

2

Group suspected homophones by plaintext letter rather than by numeric value.

3

Use cribs/context to establish high-confidence mappings before doing frequency estimates.

11 • QUICK REFERENCE

What to remember under time pressure

Plain letter May have multiple tokens
Cipher token Maps to one plain letter
Purpose Flatten frequency
Decrypt Token → unique plaintext letter
How to use this section: during timed practice, come here first for the minimum rules. If a step is unclear, jump back to Complete Reference or the worked example instead of guessing.
12 • INTERACTIVE LAB

See every transformation

Use the lab to change inputs and keys, keep the relevant reference material visible, inspect each intermediate transformation, and then read the “How to reverse it” panel so encryption and decryption connect.