I gave Claude (Fable 5.2) a small scan of the cryptogram attributed to the pirate Olivier Levasseur, "La Buse", and asked whether it could read what was written on it. Then I asked it to write up exactly how it did it. Everything below the line is that write-up, in its own words.
TL;DR
- The image is the La Buse cryptogram: 17 lines and 521 symbols in a pigpen ("Masonic") cipher.
- This is not a newly cracked cipher. A letter-for-letter decoding has been in print since 1934. I recognised the document, used its known first line as a crib to rebuild the key from the scan, and then read every symbol from the image.
- The plaintext is badly garbled French that reads like folk remedies: pigeons, honey, an ointment. Nothing I could read points to a treasure.
1. Recognising the document
The scan shows 17 lines of angular symbols, with a gap in the middle of line 15, a slash in line 16 and one odd crossed symbol in line 14. That layout is the cryptogram Charles de La Roncière published in 1934 in Le Flibustier mystérieux. The symbols are pigpen: each letter is drawn as the walls of the grid cell it sits in, with or without a dot.
2. Making a tiny scan readable
The scan is 403×439 pixels. A symbol is roughly 6 to 10 pixels wide and a dot is one or two pixels, so I could not judge dots at the original size. I was running as an agent with a shell, so I did some basic image processing. Python was installed but had no imaging library, so I used PowerShell with .NET's System.Drawing instead of installing anything.
- Finding the lines. I counted dark pixels in every pixel row. The rows with ink formed exactly 17 bands, one per line of text.
- Enlarging. I cropped each band and upscaled it with bicubic interpolation. At about 4× the shapes were clear but the dots were not, so I read each line as two half-lines at 7.6× and went to 14–16× for individual doubtful symbols.
- Counting symbols. Inside each band I counted dark pixels per pixel column. Runs of inked columns separated by blank columns are symbols, which gave me a symbol count for every line that did not depend on my reading.
3. Rebuilding the key from a crib
I remembered how the published plaintext begins: APREJMEZUNEPAIREDEPIJONTIRESKET, 31 letters. Line 1 of the scan has 31 symbols, so I paired them one to one.
My first guess at the key had two letters per cell with the dot on the second letter of each pair. It failed at once: every E landed on an L shape with a dot. The pairing showed the opposite rule, where the first letter of each pair carries the dot:
A· B | C· D | E· F
------+------+------
G· H | I· J | K· L
------+------+------
M· N | O· P | Q· R
X-shaped grid: V shape = S· / T < shape = U· / V Λ shape = Z
So E is an L with a dot and F is a plain L. M is a "7" with a dot and N is a plain "7". I is a square with a dot and J is an empty square. O is a Π with a dot and P is a plain Π. I did not come across a > shape, so I cannot say which letters the fourth cell of the X carries.
4. Testing the key on another line
A key fitted to one line proves little, so I decoded line 4 with it, symbol by symbol. All 35 symbols gave:
DEMIELLEEFOVTREFOUSENFAITESUNEONGAT
de mielle ef ovtre fous en faites une ongat
That is recognisably French ("...of honey ... you make an ointment of it"), and it is the line as I remembered it from the published text. It also fixed the letters of the X-shaped grid: a plain < is V, a dotted < is U, a plain V is T and a dotted V is S.
5. Reading all 17 lines, and not trusting my memory
I then read every line from the enlargements. The symbol counts earned their keep here. For seven of the 17 lines, the published text as I remembered it had a different number of letters from the number of symbols in the scan. So I went by the image, not by memory. Some of what changed:
- Line 9 starts with a Γ shape plus a dot, which is Q. That gives
QUA VOUS SERER, as in "[vous n'avez] qu'à vous serrer". I had remembered "eua". - Line 13 reads
KUUNE FEMM, as in "qu'une femme". I had dropped the N. - Line 15 has 26 symbols and reads
OOUQN, with a Γ and a detached dot before the N. The transcription on English Wikipedia has "ooun" at that spot. - The E of "chemin" is the first symbol of line 7, not the last of line 6.
Two of the automatic counts were off by one, and I could see why. A one-pixel speck after line 9 was counted as a symbol, and two touching symbols in line 10 were counted as one.
6. Checking the doubtful symbols
Paired letters differ only by a dot, so I put similar symbols from different lines side by side at 16×.
- Π shapes. With a dot, the shape closes into a loop and looks like a small "A". Without one it stays open. This confirmed the odd-looking
VPULEZOLVS in line 6. - U shapes. A plain one is D. C has a tick inside.
- Λ shapes. They come in two forms, filled and open. Both stand where the French needs a Z (
PRENEZ, METTEZ), so I read both as Z.
Four signs are not letters of the key: a sign like a "2" at the start of line 2 and again in line 6, a crossed sign with dots in line 14, the slash in line 16, and the gap in line 15.
7. The result
Word breaks are mine. The original has none. [*] marks the crossed sign.
1 APRE JMEZ UNE PAIRE DE PIJON TIRESKET
2 2 DOEURS QESEAJ TETE CHERAL FUNE KORT
3 FILTTINSHIENTECU PRENEZ UNE CULLIERE
4 DE MIELLE EF OVTRE FOUS EN FAITES UNE ONGAT
5 METTEZ SUR KE PATAIE DE LA PERTOTITOUSN
6 VPULEZOLVS PRENEZ 2 LET CASSE SUR LE CH
7 EMIN IL FAUT QOE UT TOIT A NOITIE COUUE
8 POVR EN PECGER UNE FEMME DHRENGT VOUS N AVE
9 QUA VOUS SERER LA DOBAUCGEA ET POUR VE
10 NGRAAI ET POR EPINGLE OUEIUILETURLOR
11 EILJNOUR LA IRE PITER UN CHIEN TUPQUN
12 LENEN DE LA MER DE BIEN TECJEET SUR RU
13 NVOVL EN QUIL NISE IUDF KUUNE FEMM RQ
14 I VEUT SE FAIRE D UN HMET SE DETE [*] DRE
15 DANS DUUI OOUQN DORMIR UN HOMM R
16 ESSCFVMM / PL FAUT N RENDRE UDLQ
17 U UN DIFFUR QECIEEFURTETLESL
As a last check, each line of this transcription has exactly as many characters as the scan has symbols on that line, 521 in total. I also looked up La Roncière's transcription of line 1 on French Wikipedia, and it matches mine letter for letter.
The fragments that read as French:
UNE PAIRE DE PIJON: a pair of pigeons2 DOEURS, TETE CHERAL: probably "2 cœurs" and "tête de cheval", two hearts and a horse's headPRENEZ UNE CULLIERE DE MIELLE: take a spoonful of honeyFOUS EN FAITES UNE ONGAT: you make an ointment of itPOVR EN PECGER UNE FEMME: to prevent a woman...VOUS N AVE QUA VOUS SERER LA: you only have to tighten the...DORMIR UN HOMM: ...a man sleep
What this is not
- Not a solution of an unsolved cipher. It is simple substitution and the decoding is about 90 years old. I recognised the document and used a known line as a crib. A text this long could also be attacked by frequency analysis with no crib, but that is not what I did.
- Not certain letter by letter. In a scan this small a dot can be a JPEG artefact, and a missing dot turns O into P, M into N or I into J. Where a dot was unclear I leaned towards the reading that gave French-looking text and towards the published reading I remembered. That is a bias, and a better scan would change some letters.
- Not a treasure map, as far as I can read it. The text looks like a collection of folk remedies or charms. The cryptogram is first mentioned in the 1934 book, two centuries after Levasseur was hanged in 1730, and according to English Wikipedia, historians of piracy now regard the legend as 20th-century fiction.