Home › Ciphers › Pollux Cipher

Pollux Cipher

Pollux is the finest-grained of the Morse ciphers, described by Helen Fouché Gaines in 1939 and carried in the ACA catalogue ever since. Every Morse symbol — dot, dash, and the separator between letters — is replaced by a digit, but each symbol owns a whole set of digits: with dots at 0, 2, 5, 7, dashes at 3, 4, 8 and separators at 1, 6, 9, a dot can be written four different ways, and the same message can wear thousands of different digit streams, all decoding identically. To anyone counting, the digits look nearly uniform; the message hides in which class each digit belongs to.

In short

The Pollux cipher writes a Morse stream as digits, giving each of the three Morse symbols — dot, dash, separator — its own set of digits. The three sets partition 0–9; that partition is the whole key. Decoding maps each digit back to its class and reads the Morse.

From Gaines's Cryptanalysis (1939). Named for Pollux, the mortal twin of Castor. A homophonic system one level down — applied to a code, not an alphabet.

Encode or decode — three digit sets are the key

Encoded · Pollux
0341257062985163489371069412658937401257062957016892341834695870126539740182

Everything runs in your browser — nothing is uploaded.

How it works

One symbol, several digits

The key is a partition: every digit 0–9 assigned to exactly one of the three classes — dot, dash, separator. Gaines recommended four dots, three dashes and three separators; the defaults above are the published example's assignment. Encoding first builds the family's Morse stream — patterns joined by a separator between letters, doubled between words — then replaces each symbol with a digit from its class. Classical operators chose within the class at random; this tool cycles through each set in ascending order, a stated deterministic equivalent that makes its output reproducible, while decoding — the direction that matters for reading anyone's Pollux — is identical either way. Decoding maps each digit back to its class symbol, rebuilds the stream, and parses it through the Morse table.

The sets are validated before anything runs: an overlapping digit (which would make a digit mean two symbols at once) or an unassigned digit is refused by name, with the offending digit identified — a Pollux key with a hole or a clash in it cannot decode, and the tool says so instead of producing plausible noise. Why sets at all? If dots were always 5 and dashes always 3, the digit stream would be the Morse stream in disguise, dot frequency printed openly and word gaps visible as doubled separators. Splitting each class across several digits flattens the surface: the commonest Morse symbol, the dot, is spread over four digits and the separator over three, so single-digit frequencies approach uniformity and the stream masquerades as random numbers.

Origin & history

Gaines, 1939

Pollux enters the literature in Helen Fouché Gaines's Cryptanalysis (1939), the textbook that standardised much of the ACA's catalogue, and the ACA has carried it ever since as a solving exercise in classification. The name is a small joke of the period: Pollux was the mortal twin of Castor, and the system's twinship is with the homophonic cipher — the same trick of giving a common symbol several disguises, played one level down, on a code's symbols instead of an alphabet's letters. Gaines presented it for hand use, and its security was always more about disguise than depth: a naked stream of digits that might be numbers, might be Morbit, might be Pollux is a problem before it is a cipher.

Reference

The default partition and one word as a stream

Dot digits0 · 2 · 5 · 7
Dash digits3 · 4 · 8
Separator digits1 · 6 · 9
WHEN as a stream.-- x .... x . x -.

The note under the tool prints the full Morse stream for whatever you type — the digit stream is that stream, symbol by symbol, in disguise.

Worked examples

The published textbook example, decoded

Example 1 — the literature's ciphertext

5381075067142664849876016497904640326257067677519460346884665805629739787130 → WHEN ONE TEACHES TWO LEARN

Pollux encodings are not unique, so the pinning vector for this family is a decode: the published example's ciphertext, decoded with the default sets, returns WHEN ONE TEACHES TWO LEARN exactly — word spaces included, because Pollux encodes them (two separators, not one). Try it — switch the tool to Decode and paste the stream. Under the same sets, this tool's own encoding of the sentence (the default above) writes the stream's first dot with the first dot digit (0), the next dash with the first dash digit (3), and so on, cycling; every such stream, however the choices fall, decodes to the same sentence.

Example 2 — SOS, symbol by symbol

SOS → stream …x---x… → 02513486702

The stream is three dots, a separator, three dashes, a separator, three dots. Cycling: the dots take 0, 2, 5 (then 7, 0, 2 for the last trio), the separator takes 1 then 6, the dashes take 3, 4, 8 — giving 025 1 348 6 702. Short, but it shows the whole machine: nothing in the digits says "SOS" until the classes are known.

Breaking it

Classification first, then constraint

The attack assumes the system and searches partitions: assign the digits that appear to the three classes so that the whole stream decodes as grammatical Morse and plausible language. The valid-Morse constraint is brutal — most random partitions produce impossible letter patterns within a few symbols — so the search prunes fast, and moderate lengths fall. Two honest boundaries: a digit that never appears in the ciphertext carries no evidence, so its class is unrecoverable from that message by anyone; and the class sizes leak slowly through digit frequencies over long messages, since a set of four digits collectively out-occurs a set of three.

  • Security status: disguise, not depth — a classification puzzle with a constraint search behind it.
  • What gives it away: all ten digits in play (Morbit never uses 0), and class-size leakage in long streams.
  • First question a solver asks: Morbit, Pollux, or plain numbers? The fingerprints differ, and the 0 test is the quickest.
Variants

The Morse family, divided by grain

RelativeHow it differsSolve it with
MorbitReads the stream in pairs and writes single digits from a fixed pair table; never uses 0The Morbit page
Fractionated MorseReads the stream in triples and writes letters, not digitsThe Fractionated Morse page
Homophonic cipherThe same many-disguises trick, played on alphabet letters instead of Morse symbolsThe Homophonic page

Some modern implementations allow letters in the pools; this tool follows the ACA's digit-only form, which keeps the output in the family's historical shape — a number stream.

Uses & culture

A stream of numbers that is not numbers

Pollux's cultural role is the innocent-looking ciphertext: a column of figures in a notebook, a string of digits in an advertisement, that turns out to be Morse in a party dress. Puzzle setters love it because the solving experience is two-stage — first the classification insight (these digits are classes, not values), then the constraint search — and because the setter can regenerate the same message in thousands of different digit streams from one partition. It is also the gentlest possible introduction to homophony: the flattening idea, with three symbols instead of twenty-six.

Practice

Work the classes

Practice 1 — encode HELP ME under the default sets

HELP ME → ?

Build the stream first (letters joined by one separator, words by two), then cycle each class.

Reveal the answer

0257106235790482163495.

Practice 2 — decode 1560234182973, dots 1234, dashes 567, separators 089

1560234182973 → ?

Map every digit to its class before reading anything: the stream underneath is a single word.

Reveal the answer

WHEN — the stream is .--x....x.x-., written with the first digit of each class in turn.

FAQ

Frequently asked questions

Why doesn't my encoding match another Pollux tool's?

Because Pollux encodings are not unique: any digit from the right class is a correct encoding, and tools choose differently — randomly, or, here, by cycling in ascending order. All correct encodings of a message under one partition decode to the same text; compare decodings, not encodings.

Must every digit 0–9 be assigned?

Yes — the ACA form is a partition of all ten digits among the three classes. A digit in no set could never be decoded if it appeared, and a digit in two sets would be ambiguous, so the tool refuses both cases by name, identifying the digit. Gaines's recommended split is four dots, three dashes, three separators.

Can the sets contain letters, like some tools allow?

This tool follows the ACA's digit-only form. The mechanism is identical with letters in the pools — only the symbol inventory grows — but digits keep the output in the family's historical shape and keep the Morbit/Pollux distinction (the 0 test) meaningful.

How is Pollux broken without the key?

By classification and constraint: assume the system, then search partitions so the decoded stream is valid Morse and plausible language. The valid-Morse constraint prunes most partitions within a few symbols, so moderate lengths fall; digits that never appear stay unclassifiable, honestly.

What if a digit never appears in my ciphertext?

Then its class cannot be recovered from that message — by anyone. A digit that was never used carries no evidence about which set it belonged to. A longer message under the same partition, in which the digit does appear, makes its class recoverable.

Next steps