# Z32 clue-phrase test on Foxon’s published reading order **No exact fits.** The ten distinct 32-letter texts have at least two repeated-glyph conflicts each. The result applies to this route and vocabulary. The July 26, 1970 postscript links an angle in radians to a distance in inches along the radians. The June 26 map supplies magnetic north as the zero reference. The test uses spelled-out English cardinals, integer bounds of zero through six radians and one through twelve inches, regular unit inflections, and the ten templates below. It strips spaces and requires 32 letters to match the ciphertext length. The fixed route comes from Foxon’s Fig. 1(C). The single glyph-to-letter mapping, which allows multiple glyphs per letter, and the secondary cycling rule are test assumptions. [July 26 postscript scan](https://www.zodiackiller.com/LL5HR.html) · [June 26 map scan](https://www.zodiackiller.com/PMHR.html) · [Foxon, IACR ePrint 2023/982, p. 8](https://opencryptology.org/2023/982.pdf#page=8) ## Reading order Use the task’s case-sensitive transcription of the two ciphertext rows from the June 26 letter. [June 26 letter and cipher scan](https://www.zodiackiller.com/PLHR.html) ```text C9J|#Ok[AMf8?ORTG X6FDVj%HCELzPW9 ``` Number the original slots 1–32 across the concatenated rows. Output position 1 takes original slot 1, output position 2 takes original slot 18, and so on. Applying this permutation to Foxon’s own ASCII rendering in Fig. 1(A) reproduces the two rows of Fig. 1(C) when split after position 17. [Foxon, Fig. 1(A) and 1(C)](https://opencryptology.org/2023/982.pdf#page=8) ```text 1 18 5 22 9 26 13 30 17 4 21 8 25 12 29 16 3 20 7 24 11 28 15 32 2 19 6 23 10 27 14 31 CX#VAC?PG|D[H8zTJFk%fLR996OjMEOW ``` | Glyph | Output positions (1-based) | Original slots in output order | |---|---:|---:| | `C` | 1, 6 | 1, 26 | | `9` | 24, 25 | 32, 2 | | `O` | 27, 31 | 6, 14 | Each pair contributes one conflict if its two proposed plaintext letters differ. Each of the other 26 glyphs appears once and therefore adds zero conflicts. ## Enumeration results **840** expansions (10 templates × 7 angles × 12 distances). **10** had length 32 before deduplication and **10** remained after deduplication. SHA-256 of the alphabetically sorted distinct 32-letter texts joined by LF, encoded as ASCII with no final LF: ```text f64b62d0764290fe042b908e34ed11d48f9bdd8274c2426d59d4510442f7b8b3 ``` | Result | Distinct texts | |---|---:| | 0 conflicts (exact fits) | 0 | | 1 conflict | 0 | | 2 conflicts | 2 | | 3 conflicts | 8 | | Exact fits surviving cycling | 0 | The alphabetically first minimum-conflict text is `ELEVENINCHESALONGTHETHREERADIANS` (ELEVEN INCHES ALONG THE THREE RADIANS). It comes from `D ALONG THE A` with A = `THREE RADIANS` and D = `ELEVEN INCHES`. | Conflicting glyph | Output positions | Original slots | Proposed letters in output order | |---|---:|---:|---| | `C` | 1, 6 | 1, 26 | E, N | | `O` | 27, 31 | 6, 14 | A, N | The `9` pair agrees on E at output positions 24 and 25. ## Reproduction pseudocode ```text cardinals = split("ZERO ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT NINE TEN ELEVEN TWELVE") templates = [ "A D", "D A", "A AND D", "D AND A", "D ALONG A", "D ALONG THE A", "A AND D ALONG", "A AND D ALONG THE RAY", "A FROM MAGNETIC NORTH AND D", "D AT A FROM MAGNETIC NORTH" ] original = row1 + row2 cipher = [original[slot - 1] for slot in permutation] # zero-based strings pairs = all (i, j) with 0 <= i < j < 32 and cipher[i] == cipher[j] generated = 0 length_matches = 0 provenance = map from text to set of (template, A, D) for template in templates: for a in 0 through 6 inclusive: A = cardinals[a] + (" RADIAN" if a == 1 else " RADIANS") for d in 1 through 12 inclusive: D = cardinals[d] + (" INCH" if d == 1 else " INCHES") phrase = replace whole tokens A and D in template simultaneously text = remove all spaces from phrase generated += 1 if length(text) == 32: length_matches += 1 provenance[text].add((template, A, D)) texts = sort(keys(provenance)) # ASCII alphabetical order retained = length(texts) digest = SHA256(ASCII(join(texts, LF))) # separator only counts = [0, 0, 0, 0] exact_fits = [] survivors = 0 function cycles(sequence): seen = empty set for i, glyph in enumerate(sequence): # zero-based if glyph in seen: # First repeat fixes the period, whose first i glyphs are distinct. return all(sequence[j] == sequence[j mod i] for j in i through length(sequence) - 1 inclusive) seen.add(glyph) return true for text in texts: conflicts = sum(text[i] != text[j] for (i, j) in pairs) counts[conflicts] += 1 if conflicts == 0: groups = map from letter to list of glyphs for i in 0 through 31 inclusive: groups[text[i]].append(cipher[i]) verdict = all(cycles(group) for group in values(groups)) exact_fits.append((text, provenance[text], verdict)) survivors += integer(verdict) ```