What are the Feynman ciphers?
cryptology/Feynman
Problem
What are the Feynman ciphers? When I was a graduate student at Caltech, Professor Feynman showed me three samples of code that he had been challenged with by a fellow scientist at Los Alamos and which he had not been able to crack. I also was unable to crack them. Here they are: 1. Easier MEOTAIHSIBRTEWDGLGKNLANEA INOEEPEYSTNPEUOOEHRONLTIR OSDHEOTNPHGAAETOHSZOTTENT KEPADLYPHEODOWCFORRRNLCUE EEEOPGMRLHNNDFTOENEALKEHH EATTHNMESCNSHIRAETDAHLHEM TETRFSWEDOEOENEGFHETAEDGH RLNNGOAAEOCMTURRSLTDIDORE HNHEHNAYVTIERHEENECTRNVIO UOEHOTRNWSAYIFSNSHOEMRTRR EUAUUHOHOOHCDCHTEEISEVRLS KLIHIIAPCHRHSIHPSNWTOIISI SHHNWEMTIEYAFELNRENLEERYI PHBEROTEVPHNTYATIERTIHEEA WTWVHTASETHHSDNGEIEAYNHHH NNHTW 2. Harder XUKEXWSLZJUAXUNKIGWFSOZRAWURO RKXAOSLHROBXBTKCMUWDVPTFBLMKE FVWMUXTVTWUIDDJVZKBRMCWOIWYDX MLUFPVSHAGSVWUFWORCWUIDUJCNVT TBERTUNOJUZHVTWKORSVRZSVVFSQX OCMUWPYTRLGBMCYPOJCLRIYTVFCCM UWUFPOXCNMCIWMSKPXEDLYIQKDJWI WCJUMVRCJUMVRKXWURKPSEEIWZVXU LEIOETOOFWKBIUXPXUGOWLFPWUSCH 3. New Message WURVFXGJYTHEIZXSQXOBGSV RUDOOJXATBKTARVIXPYTMYA BMVUFXPXKUJVPLSDVTGNGOS IGLWURPKFCVGELLRNNGLPYT FVTPXAJOSCWRODORWNWSICL FKEMOTGJYCRRAOJVNTODVMN SQIVICRBICRUDCSKXYPDMDR OJUZICRVFWXIFPXIVVIEPYT DOIAVRBOOXWRAKPSZXTZKVR OSWCRCFVEESOLWKTOBXAUXV B -- Chris Cole
Show solution
1. I posted the ciphers to Usenet and Jack C. Morrison of JPL cracked the
first one. It is a simple transposition cipher: split the text into
5-column pieces, then read from lower right upward. What results are the
opening lines of Chaucer's Canterbury Tales in Middle English.
-- Chris Cole
2 and 3. David Vierra broke the second and third ciphers in May 2023 (his
blog post of 27 May 2023, reported by Nick Pelling on Cipher Mysteries on
28 May 2023:
https://ciphermysteries.com/2023/05/28/feynman-ciphers-2-and-3-broken
). Both use the same system, a mix of substitution and transposition:
- Each word is enciphered with one of two simple substitution alphabets,
alternating word by word, and the first word of each line of verse
(cipher 2) or each sentence (cipher 3) always uses alphabet 1.
- A word with an even number of letters is then written backwards.
- Word divisions and punctuation are dropped.
plain ABCDEFGHIJKLMNOPQRSTUVWXYZ
alphabet 1 MANYREQUS.HVBCID.OLWGZX.K.
alphabet 2 JHAZTENYXMLOCUFBQVKPSGW.D.
(A dot is a letter that never occurs in the plaintext, so its cipher
letter is unknown.) For example, the second message begins WHY (alphabet
1: XUK), IF (alphabet 2: XE, reversed EX), 'TIS (alphabet 1: WSL), ...
Cipher 2 is ten lines of A. E. Housman's "Terence, This Is Stupid Stuff"
(A Shropshire Lad, 1896):
Why, if 'tis dancing you would be,
There is brisker pipes than poetry.
Say, for what were hop-yards meant,
Or why was Burton built on Trent?
Oh many a peer of England brews
Livelier liquor than the Muse,
And malt does more than Milton can
To justify God's ways to man.
Ale, man, ale is the stuff to drink
For fellows whom it hurts to think.
(Housman wrote "There's brisker pipes" and "ale's the stuff"; the
encipherer spelled out "There is" and "ale is".)
Cipher 3 is the opening of Feynman's own paper "Atomic Theory of the
Lambda Transition in Helium" (Physical Review, 1953):
The behavior of liquid helium, especially below the lambda
transition, is very curious. The most successful theoretical
interpretations so far have been largely phenomenological. In this
paper and one or two to follow, the problem will be studied entirely
from first principles.
So the ciphers cannot date from the Los Alamos years; they were made in
1953 or later, presumably by the Los Alamos colleague who challenged
Feynman with them. Who made them is not known.
Checking. Enciphering these two texts by the method above reproduces
the ciphertexts letter for letter, except for four slips in the
ciphertext as posted, made either in the encipherment or in copying it:
- cipher 2, line 5: "a" is N, where alphabet 1 gives M; "of" is ER, where
it should be EI; and "brews" (HVTWK) is enciphered with alphabet 2
instead of alphabet 1;
- cipher 3: the A of "interpretations" is N, where alphabet 1 gives M.
-- Claude (rec.puzzles Oracle, 2026-11-02)