r/codes • • 1d ago

Unsolved Problem I need help : SPECIAL CODE PROBLEM FOR THE STUDENT

I am Japanese, so please forgive any awkwardness in my translation.

This is a code-breaking problem taken from the book "Solving German Codes in World War I" by William F. Friedman, Aegean Park Pr, 1979. I imported from the United States back in the 1990s. The book does not provide the solution. I have spent years attempting to solve it on my own. However, it amounted to only a partial decipherment, and even that lacked confirmation. I will transcribe the problem statement below.

The enemy in known to be using unenciphered code system. Text is in English. Code groups are five-digit groups. In order to read the text of the messages, the student must reconstruct the code-book by analysis.
NOTE TO STUDENT: Solution of a code often begins by finding those code-groups representing letters and numbers. In the present case, the names SMITH and DAVIDSON likely have been spelled using code-groups to represent either syllables or the letters themselves. Words might be searched for, such as General, for, to, stop, period, etc.

Message No.1

to general SMITH from general DAVIDSON Time 01:30, 121 words

28715 31705 17718 45504 48332 19379 40209 27521 22762 46896

20795 45504 38078 23903 18806 07103 11719 36161 31489 51923

23619 40209 47728 15474 24825 34719 22762 30249 19073 48332

03222 03157 11885 31689 48102 45504 25352 53608 18337 40209

31689 01393 45504 52215 52780 36659 01284 46424 18324 53608

18337 40209 45504 25352 23262 37566 10129 53018 32157 21282

37210 40209 45504 15474 06887 04113 16423 14756 11719 48332

03230 48332 32356 40057 53608 35436 40209 50924 22762 30249

19073 47169 40209 01934 23825 45504 07411 38827 18324 48365

18220 40209 45504 49653 25474 14756 11719 42958 53314 14756

11719 01934 42953 29284 22762 30249 19073 45504 42707 14756

11719 19379 11719 00101 50932 22762 11719 40209 31222 30249

45504

Message No.2

to general DAVIDSON from general SMITH Time 02:00, 99 words

28715 48001 45504 18324 19379 11719 00101 50932 22762 11719

40209 31222 30249 45504 00602 53608 28715 17451 45504 32157

49223 40209 21220 04382 37022 31689 01393 01934 52215 02642

35854 11719 18324 15474 03222 45504 52215 52780 45135 23262

37566 10129 53018 53608 21323 45504 02194 47169 52261 40209

21220 04382 37022 23262 35436 01934 52215 02642 09769 31489

32157 00224 48332 38901 47753 15474 45504 32157 29673 24825

21817 45504 52215 13864 30472 29702 01781 01934 19275 45504

24825 24871 35464 48332 01284 14466 47862 46423 40209 45504

42707 14756 11719 40209 27521 22762 46896 20795 45504

Message No.3

to general SMITH from general DAVIDSON Time 03:15, 143 words

28715 31142 42958 45504 18324 19379 40209 27521 22762 46896

20795 45504 19018 01829 31489 32157 28715 17451 18220 40209

36161 31489 51923 24825 18806 15474 40209 15014 13851 45504

21921 50358 21165 29873 11719 24514 47753 51431 31489 21865

30780 15012 53664 53664 01934 01453 13851 00101 25689 49223

40209 21220 04382 44175 25689 53491 06051 14756 11719 18324

31811 40209 48332 09263 03157 49608 22490 22337 40209 31689

48102 45504 48332 10751 47918 15474 03222 52215 02642 06086

23262 19073 23262 00101 06058 31489 21453 02863 18806 02775

38931 18337 40209 45504 23262 00729 52215 02642 01393 23262

19073 31705 13851 31489 32608 00101 37433 00101 49223 40209

48332 25225 04435 15474 18337 40209 31110 09605 11719 02786

21865 30788 15012 22490 45504 52215 52780 25352 53601 00971

11719 45504 42707 14756 11719 19379 11719 00101 50932 22762

11719 43858 45504

Message No.4

to general DAVIDSON from general SMITH Time 04:20, 96 words

28715 18567 48332 19379 11719 00101 50932 22762 11719 43858

45504 52215 50882 30249 46896 25689 53491 30472 48332 01284

16076 49611 42953 53314 14756 11719 45504 32157 28511 16762

24825 31026 00240 48332 20966 47862 53314 14756 11719 07321

40209 02876 24871 24825 31110 01558 09475 25689 53491 17507

14756 11719 45504 52215 01599 21220 31712 49653 13915 40209

03444 45504 24825 24871 35464 48332 21220 00730 13915 40209

01934 31176 40209 03031 14756 11719 48332 47918 09251 45504

34876 38826 43872 14756 40209 46896 45504 42707 14756 11719

19379 40209 27521 22762 46896 20795

Message No.5

to general DAVIDSON from general SMITH Time 04:45, 41 words

28715 31142 17718 18324 19379 11719 00101 50932 22762 11719

40209 31222 30249 45504 52215 21220 27262 10129 53018 42959

06058 14816 31489 50920 45504 06887 53601 37923 47762 06580

47425 45504 42707 14756 11719 19379 40209 27521 22762 46896

20795

Message No.6

to general DAVIDSON from general SMITH Time 05:01, 67 words

28715 42953 48332 19379 11719 00101 50932 22762 11719 43858

45504 06911 32157 28715 17718 45504 52215 21220 25278 15965

14756 11719 37566 10129 53018 42959 06058 45504 47869 00971

47728 47869 02642 40057 30249 23262 19073 27312 31689 01781

01934 15474 21165 27569 18567 36212 23262 19073 03222 40209

23262 26010 49611 18567 22337 40209 45504 42707 14756 11719

19379 40209 27521 22762 46896 20795 45504

Any advice—or, of course, a complete answer—would be most welcome.

Thank you for your kind cooperation.

V sbyybjrq gur ehyrf

Solving German Codes in World War I
1 Upvotes

6 comments sorted by

•

u/AutoModerator 1d ago

Thanks for your post, u/kinako-san! Please follow our RULES when posting.

MAKE SURE TO INCLUDE CONTEXT: where the cipher originated (link to the source if possible), expected language, any clues you have etc. Posts without context will be REMOVED

If you are posting an IMAGE OF TEXT which you can type or copy & paste, you MUST comment with a TRANSCRIPTION (text version) of the message.

If you'd like to mark your post as SOLVED comment with [Solved]

WARNING! You will be BANNED if you DELETE A SOLVED POST!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/doranchak 1d ago • Bravo

2

u/kinako-san 1d ago

Thank you for your prompt response. You have resolved a problem that has troubled me for a long time. I have a question: was the answer you provided already available somewhere online? I had searched for websites addressing this issue, but I was unable to find anything.

2

u/kinako-san 1d ago edited 1d ago

Given my limited English vocabulary, the provided answers strike me as truly excellent.

A question that occurs to me personally is: how does one obtain information or context that wasn't explicitly provided in the original problem?

• "TWO KILLED, SIXTEEN WOUNDED, AND SIX MISSING"—is this specific order of information a standard convention?

• "HILL NINE EIGHT ZERO ZERO"—where do such specific map coordinates come from? How does one infer geographical details for an entire theater of operations?

• "PARATROOPS"—what is the basis for assuming the presence of airborne units?

・TWELVE HUNDRED HOURS ON THURSDAY —What day of the week is it today? Is it correct to convey the date using the day of the week? Why aren't the words for today, tomorrow, and the 16th(example) used?

This is exactly the kind of information that a cryptanalyst—whether working on a problem or in an actual combat scenario—would be desperate to have! It seems I may need to train my imagination more before diving into the theory of cryptanalysis.

2

u/doranchak 20h ago

The words in the plaintext are constrained more by the fact that the code is a "one-part" code, which means the words appear in the codebook in alphabetical order. That means that if two words are known, then any code number between the numbers for those two words has to represent a word that appears alphabetically between those words. So, once you start to guess certain words, you can deduce other "nearby" words since they would appear next to each other in the code book.

1

u/kinako-san 19h ago

the fact that the code is a "one-part" code,

I also hypothesized that the data was derived from a dictionary—specifically one containing the word "son"—and I managed to deduce the likely starting letters by cross-referencing my own dictionaries. However, even after spending a decade on this, I haven't reached the level you attained in just a few hours—the same level as the materials provided by the instructor.

I encountered numerous "hallucinations" (errors) along the way; for instance:

・Interpreting 47728 as "record" instead of "RECENT"

・Interpreting 01393 as "aim" instead of "ALERT"

・Interpreting 01284+46424 as "aid+suppose" instead of "AIR+SUPPORT"

I did arrive at the word "P+A+R+A+TROOP+S," but I couldn't reconstruct the entire sentence well enough to be certain that it was the correct answer.

You seem to be viewing the entire theater of operations from a god's-eye perspective. If you don't mind sharing, could you tell me what kind of professional background, educational history, tools, or reference materials enabled you to achieve such a feat? Thank you.