G918d f3 sh38g 2xc59s348 → Grand fi shing [fishing] excursion · 1 a · 2 e · 3 i · 4 o · 5 u · 6 l · 7 m · 8 n · 9 r

Greensburg, Ohio · private diary · figure code, English · 25 June – 16 September 1864 · key recovered from the ciphertext, 819 of 828 coded words read

Peter H. Musty’s diary, summer 1864

Go to the full text ↓

A young Ohioan wrote his evenings with Hattie in a code of nine figures standing for nine letters; the key was recovered from the diary’s own words and the 21 coded entries read as English.

Daniel Bourdeau · posted

Method: ciphertext-only break · Extent: complete

Contributed by Andrew Beling (solution, transcription) · Also credited · Jakob Dopp (earlier solution) · Daniel Bourdeau (new cipher)

At a glanceCiphertext-only break · complete

The diary
Peter Henry “Hank” Musty of Greensburg, Stark County, Ohio, kept 21 coded entries between “Sat. June 25th 1864” and “Sat. Sept. 16 1864”. They are English, written in a private diary.
Where
William L. Clements Library, University of Michigan, Peter H. Musty papers, 1859–1865 (M-4646.1), the second diary. Not online; the library supplied scans of 13 PDF pages. Catalogue 765.
The cipher
The figures 1–9 stand for a e i o u l m n r. Every other letter is written as itself and word division is kept.
How the key was found
Two AI readers transcribed the pages blind. The key was hill-climbed from the words both gave alike, against an English word list, and a key recovered from the June–July entries alone read those of August–September (held-out test, passed).
What it says
A summer of rides, meetings and evenings spent courting Hattie: the Fourth of July at Massillon, an album given on her birthday, “National Guards return from the war”.
Still open
Nine doubtful coded words, each a name, a single word or an hour. No person has checked the transcription, the key, the reading or the counts.
Credit
Andrew Beling, with AI agents (Claude): scans ordered, transcription, key and reading (pull request #1200). The Clements Library blog of 2018 (Jakob Dopp) had published the system and seven values from two words of a letter of 1863; catalogue 765 (Daniel Bourdeau) listed the diary.

01 The diary

The Clements Library holds the papers of Peter H. Musty (1859–1865). The finding aid says he wrote personal names and the daily entries of 2 July – 16 September 1864 in a numerical substitution code, and no decipherment is noted there. The scans the library supplied show 21 dated entries on eleven pages (PDF pages 2–12), and the first of them is a week earlier than the finding aid says: “Sat. June 25th 1864”, with the month clear on the image and the weekday right for that date. One more page, of 17–18 September, is plain; its figures are dates and times.

The finding aid and the catalogue call him a musician of the 61st Ohio Infantry; that comes from them and was not checked here. The scans are not online and no image is kept in the repository, so the page shows the cipher as transcribed.

02 The code and its key

figure123456789
letteraeioulmnr

The five vowels in order, then l m n r. A word such as Frank is F918k, and Hattie is H1tt32. Capitals are written as letters. The writer has three forms of s: plain, a 2-like form and an s with a tick above and a dot below, and none of them is a figure. Figures that are really numbers inside a coded entry are not marked: Hattie’s age is written an, the code letters for 18, and clock times are kept as figures.

The key was found with scripts/solve.py. It takes the 591 words that hold a figure and to which both blind readers gave the same first choice, and hill-climbs a letter for each figure 1–9 so as to maximise the number of decoded words found in an English word list (Webster’s Second). All 40 random starts reach the same key, with 527 of the 591 words in the list. Giving any one figure its best other letter costs 22 to 149 words. The hill-climb was given no values.

03 The reading

The reading follows the diary line by line and keeps the writer’s spellings, with the intended word in square brackets (hame [home], croweded [crowded]). The entry for 4 July:

Up at an early hour little boys celebrating ike Francis & i go to massillon Find the streets croweded [crowded] with boys firing cannons pistols&c We find a number of old soldiers. there we have a good time with them Buy an album with itention [intention] of presenting it to Hattie return home at 0 [?] o’clock.

Through the summer he rides and walks to Uniontown, Greentown, East Liberty, Manchester and Massillon; gives Hattie the album on her birthday (“age an [18] years”); goes to singing school, grove and woods meetings and a Sunday school celebration; notes “Curly arrive from camp Chace [Chase]”; on 28 August “National Guards return from the war”; on 3 September that Hattie is “confined to the bed with fever”; and a war meeting at Hunsberger’s school house. Most entries end with the hour he got home. The identifications of East Liberty, Camp Chase and the “Albrights” were not checked.

The full reading, the transcription and the decryption are in the Full texts below. An AI reviewer (Claude, for the project’s review round of 3 December 2026) read the reading as English sentences and graded it A: coherent throughout, with the writer’s spellings glossed.

04 The transcription

Two AI readers transcribed pages 2–12 blind: without the key and without each other’s files. Aligned word by word, they give 913 tokens: 828 coded words, 56 plain words, 23 clock times and 6 number figures. Of the 828 coded words, 718 have the same first choice from both, 32 are compatible through a bracketed alternative, 71 differ and 7 were transcribed by one reader only (a word split).

An orchestrating agent made a first settlement of the differences; a settling AI agent then looked at every doubtful word on enlarged crops of the scans, with the key in view, and corrected it. The settled form of each coded word rests on: the same first choice unchanged (657), a reader’s alternative (58), the image (75), or context (38). 43 words with the same first choice from both readers were changed on the image. 21 of them are Hattie: the readers wrote H1lt32, but the writer’s two stems are straight and unlooped, his t, and his l is looped. The others come mostly from his 2-like s read as the figure 2, his g and q read as 9, his capitals E, L and N read as 3, f and 3, and his unlooped t read as l.

05 How the key was tested

Held-out test H1. The same hill-climb was run on the entries of 25 June – 31 July only (pages 2–6, 271 agreed words); all 40 starts gave the same nine letters. The key and the test files were frozen, and the SHA-256 of their manifest was stamped by FreeTSA (RFC 3161) at 03:05:21 UTC on 3 December 2026, before the one measurement. On the entries of 6 August – 16 September (pages 7–12, 320 agreed words) 290 decode to a word in the list (0.906). The null is every other assignment of the nine frozen letters to the nine figures, 362,879 in all, scored exactly: the best of them reads 253 (0.791), the median 61 (0.191), and none reaches the key’s score. The pass mark, fixed first, was at least 0.75 with no other assignment as high. Verdict: validated.

Two limits are stated in the notes. The order of the protocol and the training run rests on the building agent’s account only; the freeze before the measurement is what the timestamp shows. And the answer was already known, from the whole diary and in part from the blog, so the test shows that the same mechanical search on part of the diary gives a key that reads the rest; it is not a blind solution. The standard test script does not fit this cipher, because most letters are plain and only nine figures are substituted, so the null permutes the nine figure values alone.

Statistical validation. Over 3,447 signs against a modern English letter model (order 4), the reading scores −2.184 per letter; random keys score −7.210 on average (z 7.5), and keys annealed onto shuffled text at best −4.251. Verdict: pass. Those random keys permute the plain letters as well, so this test is weaker evidence for the nine figure values than the held-out test.

06 Earlier work, and what it did to this result

In 2018 Jakob Dopp wrote on the Clements Library blog about a Valentine’s Day print in the Musty papers. The post says Musty used “a simple substitution code in which numbers 1 through 9 corresponded to letters of the alphabet” in his letters, and decodes two words of a letter of 1863, 719y 298sb59829 as Mary Ernsburger and 74th29 as mother. Those words fix 1 a, 2 e, 4 o, 5 u, 7 m, 8 n and 9 r; the key found here has the same seven values. The post does not show 3 or 6 and does not discuss the diary.

Whether a reading existed before the attempt: the system, and seven of the nine values from letters, were published before; no decipherment of the diary was found. The profile records this as found before the attempt and not used. Catalogue 765 had already quoted the system and five values (1 = a, 2 = e, 4 = o, 7 = m, 9 = r), and the project’s collision check read that catalogue row before the solve, so the system was not unknown beforehand. The hill-climb was given no values, and the blog post itself was first opened, in the Internet Archive copy, only after the key was found. The notes do not record whether the agent that ran the solve saw the five values in the catalogue row.

07 What remains open

Full texts

The transcription and the decryption of every document on this page, so that the reading can be used and checked. Short files are shown here; all are in the repository.

Musty's diary, 25 June - 16 Sept 1864: the 21 coded entries

A young man at home in Stark County, Ohio, in the summer of 1864 records his courtship of Hattie: rides to Uniontown, East Liberty and Massillon, the Fourth of July at Massillon, an album given on her eighteenth birthday, singing school and woods meetings, Curly's return from Camp Chase, the National Guards' return from the war (late August), Hattie's fever and a war meeting (early September), and the hour he got home most nights.

Transcription: transcription_musty1864.tsv

Decryption

decryption_musty1864.txt

p2 l1: Grand fi shing excursion.
p2 l2: Frank give me his horse
p2 l3: and buggy. Take miss.
p2 l4: learst & miss. Hunsberger
p2 l5: out and back from the
p2 l6: la.ke. Take Hattie to
p2 l7: her house, and then to
p2 l8: town stoping at mr.
p2 l9: turdues. Take engage-
p2 l10: ments far some future
p2 l11: eVening. She accept.
p2 l12: The opp osite page shows
p2 l13: of our next meeting.

p3 l1: evening Bill Frank & i
p3 l2: take a walk north a
p3 l3: short distance i give
p3 l4: Hattie a call Have
p3 l5: a pleasant time reach
p3 l6: hame at 4 o^c lock in
p3 l7: the morning This ny
p3 l8: first night out since
p3 l9: home
p3 l10: Up at an early hour
p3 l11: little boys celebrating
p3 l12: ike Francis & i go to
p3 l13: massillon Find the streets
p3 l14: croweded with boys
p3 l15: firing cannons pistols&c
p3 l16: We find a number of
p3 l17: old soldiers. there we
p3 l18: have a good time with
p3 l19: them Buy an album with itention
p3 l20: of presenting it to Hattie return
p3 l21: home at 0 o^clock.

p4 l1: ike & i take a ride to
p4 l2: uniontown and return home
p4 l3: via Greentown reach home
p4 l4: at a o^c lock evening ike
p4 l5: & i take a walk northward
p4 l6: i give Hattie a call get
p4 l7: home at 0 o^clock on sunday
p4 l8: morning
p4 l9: Evening ike Frank & i
p4 l10: take a ride to East Liberty
p4 l11: go to singing Return home
p4 l12: at sundown I then go to
p4 l13: Hattie Present her the
p4 l14: album this being her
p4 l15: birthday age an years
p4 l16: Return home at al O^c
p4 l17: Clint & i go to Manchester.
p4 l18: Clinton & Fulton return
p4 l19: home by way of Bachtels
p4 l20: Home at sundown.

p5 l1: Dull & lonely in town
p5 l2: today Evening Shutt &
p5 l3: i go to Grabils have a
p5 l4: chat with the girls
p5 l5: till dusk We then make
p5 l6: our way further north
p5 l7: ike meet Cetta on her
p5 l8: way to meeting ike go
p5 l9: back with her and i
p5 l10: call at Hattie's house
p5 l11: Spend the evening very
p5 l12: pleasant return home on
p5 l13: sunday morning at 4,O'ck.
p5 l14: at 4,O^c in afternoon
p5 l15: ike & i go to Hattie's
p5 l16: house to spend the evening
p5 l17: He call on Cetta at dark
p5 l18: i remain with Hattie till
p5 l19: 3O^c in morning meet ike
p5 l20: at the crossroad reach
p5 l21: home at 4O^c

p6 l1: very dull & lonely in
p6 l2: town today Afternoon
p6 l3: Cetta & Hattie meet me
p6 l4: at 5O^c We go to mr Harters
p6 l5: Evening go to meeting
p6 l6: in manchester return to
p6 l7: Harter's at 10O^c
p6 l8: Hatt & i on portico till
p6 l9: 12O^c re tire
p6 l10: Not well today
p6 l11: all gone to church but
p6 l12: myself Try to play on
p6 l13: melodeon Cetta & Hatt
p6 l14: return at noon
p6 l15: at 5O^c in afternoon we
p6 l16: return to Greensburgh
p6 l17: Evening ike & i make
p6 l18: our usual trip north
p6 l19: He meet me at Hattie's
p6 l20: house on sunday morn.
p6 l21: at 3O^c then we return
p6 l22: home.

p7 l1: Day. very. warm. Showers
p7 l2: in afternoon. Evening, Billy
p7 l3: ike & i take our usual
p7 l4: walk northward. i go to
p7 l5: see Hattie, find the girls
p7 l6: all well. remain with
p7 l7: Hatt till 2O^c & return
p7 l8: home in the morning.
p7 l9: Grove meeting. in Mr.
p7 l10: Beltis woods. ike & i
p7 l11: go down in forenoon &
p7 l12: in afternoon. and evening-
p7 l13: Preaching over 9½O^c
p7 l14: Boys see the girls home.
p7 l15: i go home with Hattie.
p7 l16: Have a good time on the
p7 l17: road. i get home at
p7 l18: about 1O^c in the
p7 l19: morning.

p8 l1: Go to uniontown in fore-
p8 l2: noon. afternoon remain in town.
p8 l3: Fall term of school come-
p8 l4: nces. evening Mr. Shoe-
p8 l5: maker & i go down to the
p8 l6: woods meeting. Have a
p8 l7: lively time. Go home
p8 l8: with Hattie and remain
p8 l9: with her till, 1.O^c in
p8 l10: morning. Almost fall
p8 l11: asleep with my head
p8 l12: resting on my pillow.
p8 l13: Dull and lonely today.
p8 l14: Curly arrive from camp
p8 l15: Chace on a french.
p8 l16: Eve. go to nee Hattie and
p8 l17: have a very good time.
p8 l18: return home via of
p8 l19: the road at 3½OC
p8 l20: on sunday morning.

p9 l1: rainy day. ike & i take
p9 l2: a morning ride as far
p9 l3: as Isaac Franks.
p9 l4: Do nothing at day. Ev.
p9 l5: Clint & ike go to akron
p9 l6: and i go with them
p9 l7: as far as the crossroads
p9 l8: then go to se Hattie.
p9 l9: The night very rainy
p9 l10: but I escape from
p9 l11: geting wet. Did not have
p9 l12: as good a time as i had
p9 l13: expected. return home
p9 l14: at 4O^c monday morning.
p9 l15: Evening go to see Hattie. eat melon which
p9 l16: was. presented to us by mrs. Jno Chisnell.
p9 l17: National Guards return from the war.
p9 l18: Hatt & i have a good time. Have a
p9 l19: fair understanding of things in
p9 l20: general. Return home at 4O^c
p9 l21: on sunday morning. Seep.

p10 l1: albrights have woods
p10 l2: meeting in. mr. Garmans woods.
p10 l3: in the evening meeting in
p10 l4: the church. ike & i go up
p10 l5: see Hattie home after
p10 l6: church. remain with her
p10 l7: about an hour. return home
p10 l8: with letter.
p10 l9: Sunday school cellebra-
p10 l10: tion. rain nearly all day.
p10 l11: Evening take aride up
p10 l12: north with a. Weaver.
p10 l13: Go to see Hattie. Ge caught-
p10 l14: in the rain on the way.
p10 l15: Find Hattie confined
p10 l16: to the bed with fever.
p10 l17: remain a few hours, with
p10 l18: her. return home at.
p10 l19: 9O^c. War meeting at
p10 l20: Hunsbergers school
p10 l21: house. rain. nearly
p10 l22: all night.

p11 l1: Evening go to see Hattie.
p11 l2: Find her much reCovered.
p11 l3: remain with her till
p11 l4: 10.O^c after which i take
p11 l5: my departure, with the
p11 l6: pramiseto call again
p11 l7: on saturday evening
p11 l8: next.
p11 l9: Evening ike and i take
p11 l10: a walk northward. He
p11 l11: return. I go to Hattie's
p11 l12: house. Find her quite
p11 l13: well. Maggie & Calest
p11 l14: retire early. i remain
p11 l15: with Hattie till 3O^c
p11 l16: sunday marning. Have
p11 l17: a very good time with
p11 l18: her. Depart at 3O^c
p11 l19: find it very dark
p11 l20: traveling through
p11 l21: the woods.

p12 l1: Evening, go to see Hattie
p12 l2: and find. her in mmm:
p12 l3: Have a very good time.
p12 l4: with her. Remain.
p12 l5: with her till 3O^c
p12 l6: in morning. Return
p12 l7: home at 4O^c.
Reading

reading_musty1864.txt

Peter H. Musty, diary, coded entries 25 June - 16 Sept 1864 (William L. Clements Library, University of Michigan, Peter H. Musty papers, M-4646.1).
Key: figures 1-9 = a e i o u l m n r; all other letters plain; s also written in a 2-like form and as "ş". The writer's spellings are kept, with the intended word in [ ]; [?] = doubtful; [...] = unread.
Clock times as written (o'c = o'clock). Line by line as in the diary; headings expanded. Token by token: transcription_musty1864.tsv. Read by AI agents; no person has checked it.

[Sat. June 25th 1864, p2]
Grand fi shing [fishing] excursion.
Frank give me his horse
and buggy. Take miss.
Learst [?] & miss. Hunsberger
out and back from the
la.ke. Take Hattie to
her house, and then to
town stoping [stopping] at Mr.
turdues [Purdue's?] Take engage-
ments far [for] some future
eVening. She accept.
The opp osite [opposite] page shows
of our next meeting.

[Sat. July 2d 1864, p3]
evening Bill Frank & i
take a walk north a
short distance i give
Hattie a call Have
a pleasant time reach
hame [home] at 4 o'clock in
the morning This my [?]
first night out since
home

[Mon. July 4th 1864, p3]
Up at an early hour
little boys celebrating
ike Francis & i go to
massillon Find the streets
croweded [crowded] with boys
firing cannons pistols&c
We find a number of
old soldiers. there we
have a good time with
them Buy an album with itention [intention]
of presenting it to Hattie return
home at 0 [?] o'clock.

[Sat. July 9th 1864, p4]
ike & i take a ride to
uniontown and return home
via Greentown reach home
at a [1?] o'clock evening ike
& i take a walk northward
i give Hattie a call get
home at 0 [?] o'clock on sunday
morning

[Sunday July 10th 1864, p4]
Evening ike Frank & i
take a ride to East Liberty
go to singing Return home
at sundown I then go to
Hattie Present her the
album this being her
birthday age an [18] years
Return home at al [?] o'c

[Friday July 15 1864, p4]
Clint & i go to Manchester.
Clinton & Fulton return
home by way of Bachtels
Home at sundown.

[Sat. July 16th 1864, p5]
Dull & lonely in town
today Evening Shutt &
i go to Grabils have a
chat with the girls
till dusk We then make
our way further north
ike meet Cetta on her
way to meeting ike go
back with her and i
call at Hattie's house
Spend the evening very
pleasant return home on
sunday morning at 4 o'ck.

[Sat. July 23d 1864, p5]
at 4 o'c in afternoon
ike & i go to Hattie's
house to spend the evening
He call on Cetta at dark
i remain with Hattie till
3 o'c in morning meet ike
at the crossroad reach
home at 4 o'c

[Sat. July 30 1864, p6]
very dull & lonely in
town today Afternoon
Cetta & Hattie meet me
at 5 o'c We go to mr Harters
Evening go to meeting
in manchester return to
Harter's at 10 o'c
Hatt [Hattie] & i on portico till
12 o'c re tire [retire]

[Sund. July 31st 1864, p6]
Not well today
all gone to church but
myself Try to play on
melodeon Cetta & Hatt [Hattie]
return at noon
at 5 o'c in afternoon we
return to Greensburgh
Evening ike & i make
our usual trip north
He meet me at Hattie's
house on sunday morn.
at 3 o'c then we return
home.

[Sat. Aug. 6th 1864, p7]
Day. very. warm. Showers
in afternoon. Evening, Billy
ike & i take our usual
walk northward. i go to
see Hattie, find the girls
all well. remain with
Hatt [Hattie] till 2 o'c & return
home in the morning.

[Sund. Aug. 7th 1864, p7]
Grove meeting. in Mr.
Beltis [?] woods. ike & i
go down in forenoon &
in afternoon. and evening-
Preaching over 9½ o'c
Boys see the girls home.
i go home with Hattie.
Have a good time on the
road. i get home at
about 1 o'c in the
morning.

[Tuesday Aug. 9th 1864, p8]
Go to uniontown in fore-
noon. afternoon remain in town.
Fall term of school come-
nces. [commences] evening Mr. Shoe-
maker & i go down to the
woods meeting. Have a
lively time. Go home
with Hattie and remain
with her till, 1. o'c in
morning. Almost fall
asleep with my head
resting on my pillow.

[Sat. Aug. 13 1864, p8]
Dull and lonely today.
Curly arrive from camp
Chace [Chase] on a french [?]
Eve. go to nee [see] Hattie and
have a very good time.
return home via of
the road at 3½ o'c
on sunday morning.

["Satd." Aug. 21st 1864, p9; 21 Aug 1864 was a Sunday and the entry ends "monday morning"]
rainy day. ike & i take
a morning ride as far
as Isaac Franks.
Do nothing at [all?] day. Ev.
Clint & ike go to akron
and i go with them
as far as the crossroads
then go to se [see] Hattie.
The night very rainy
but I escape from
geting [getting] wet. Did not have
as good a time as i had
expected. return home
at 4 o'c monday morning.

[Sat. Aug. 28 1864, p9; 28 Aug 1864 was a Sunday, so probably Sat. 27 Aug]
Evening go to see Hattie. eat melon which
was. presented to us by mrs. Jno [John] Chisnell.
National Guards return from the war.
Hatt [Hattie] & i have a good time. Have a
fair understanding of things in
general. Return home at 4 o'c
on sunday morning. Seep [?]

[Sund. Aug. 28th 1864, p10]
albrights have woods
meeting in. Mr. Garmans [?] woods.
in the evening meeting in
the church. ike & i go up
see Hattie home after
church. remain with her
about an hour. return home
with letter.

[Sat. Sep. 3d 1864, p10; read "13d" by the readers]
Sunday school cellebra-
tion. [celebration] rain nearly all day.
Evening take aride [a ride] up
north with a. Weaver.
Go to see Hattie. Ge [Get] caught-
in the rain on the way.
Find Hattie confined
to the bed with fever.
remain a few hours, with
her. return home at.
9 o'c. War meeting at
Hunsbergers school
house. rain. nearly
all night.

[Wedne[sday] Sept. 7 1864, p11]
Evening go to see Hattie.
Find her much reCovered.
remain with her till
10. o'c after which i take
my departure, with the
pramiseto [promise to] call again
on saturday evening
next.

[Sat. Sept. 10 1864, p11]
Evening ike and i take
a walk northward. He
return. I go to Hattie's
house. Find her quite
well. Maggie & Calest [?]
retire early. i remain
with Hattie till 3 o'c
sunday marning. [morning] Have
a very good time with
her. Depart at 3 o'c
find it very dark
traveling through
the woods.

[Sat. Sept. 16 1864, p12; 16 Sept 1864 was a Friday]
Evening, go to see Hattie
and find. her in [...]
Have a very good time.
with her. Remain.
with her till 3 o'c
in morning. Return
home at 4 o'c.

Key: key.tsv

08 Sources

Transcription, key, reading, scripts and the held-out test: targets/musty1864/.

Cite this page

Andrew Beling, “Peter H. Musty’s diary, summer 1864”, Cyphersolver, posted 3 December 2026, repository commit 980f16abb3, https://cyphersolver.com/musty1864.html.