Home Page Hebern's machines The 5 rotors machine home page
|
The 1924 Navy Test MessagesThis challenge is composed of 10 test messages enciphered on the first version of the HCM (Hebern Cipher Machine) which uses 5 rotors. This challenge was solved by Friedman in 1924.
The reconstructed wiringThe order of resolutionLFS and RFS wiring are structural. The machines of the Navy and Army have the same wiring. They were therefore known to Friedman. The first rotor for which Friedman finds the wiring is the rotor in position V (the fast rotor or the right rotor or CW5). Then he has of a series of simple substitutions but limited to 26 letters. He managed to solve some of them. Then he can deduce the wiring of the rotor in position I (the medium rotor or left rotor or CW1). So he can find the plain text of all messages. Indeed, the problem he must solve is greatly facilitated by knowing the two rotors which move forward most often. He finishes his exploit by reconstructing the wiring of the other rotors: CW2, CW3 and CW4. The Friedman's wiring of the HCM 5 rotors of the NavyLFS: XAKHSZJLYWGPMIOURDBFTNVCQE CW1: XQBOAWENUJFVRDSYKHTLCIPZMG CW2: ORLWVJFPXMHYGTKNCZSUEADIQB CW3: TSKPLDRBEIZGJOCFWNVXUAYHQM CW4: YERTIQFNJOHVAWBLKDSXMCPZGU CW5: DPGTBZOHRYMSLAJIWCKUQFNVXE RFS: TYOEUMXDFJQVKWBNSHCILRZAGPNote: The reconstructions of CW1 and CW5 are correct because thanks to them and the equivalent of CW2,CW3,CW4 I obtain a good decryption. On the other hand, the wiring of the other rotors seems incorrect. Perhaps for certain messages it is necessary to use the rotors in reverse or mirror position or take into account the Lampboard permutation? (I found the answer, see at the end of the page). Here is my reconstruction of the equivalent of the CW2, CW3, CW4 stator: JPATYNDXLCWSUVKHIRZOBFMQGE for the first message with the key AG-A-AM. Here is the result of the partial decryption (the end is incorrect because the CW3 rotor advances) of the first message with my HCM simulator: C:\H5_TOOLS> more ROTORS\0.rot ABCDEFGHIJKLMNOPQRSTUVWXYZ Identity C:\H5_TOOLS> more ROTORS\N1.rot XQBOAWENUJFVRDSYKHTLCIPZMG Rotor 1 Navy C:\H5_TOOLS> more ROTORS\N5.rot DPGTBZOHRYMSLAJIWCKUQFNVXE Rotor 5 Navy C:\H5_TOOLS> more ROTORS\N234.rot JPATYNDXLCWSUVKHIRZOBFMQGE Equivalent to rotor 2,3,4 for msg 1 C:\H5_TOOLS> python hebern5_tui.py -I N1:0:N234:0:N5 -E AGRAAAM -d ^ < CHAL1924\msg_01.cry PRESIDENTOFTHEUNITEDSTATESINVITATIONTODISCUSSPACIFICOCEANPOLICIES COMESLIKEABOMBTOJAPANWHOWASPREPAREDTOCONSIDERREDUCTIONARMAMENTSBUT RESENTSDISCUSSIONASIATICPROBLEMSASUNWARRANTEDINTERFERENCEGREATEST BLOWTOPRIDEANDPREJUDICEISINVITATIONTOCHINATOPARTICIPATEFOLLOWING JAPANSFAILURETORENEWBRITISHALLIANCEBRINGSREALIZATIONOF WBXQVWUQUVMBXQVW My solution of the rotors 2,3 and 4 wiringCW2: NQKVUIEOWLGXFSJMBYRTDZCHPA (R2jf) CW3: DVAWOCMPTKRUZNQHYGIFLJSBXE (R3jf) CW4: SRKZETJWGNBFLYAPXMUQVOCHDI (R4jf) From the moment I failed to decipher the Navy's messages using the wiring provided by Friedman, I never stopped reconstructing them. Here is my solution. I explain this one in another page (link). C:\H5_TOOLS> python hebern5_tui.py ^ -I N1:R2jf:R3jf:R4jf:N5 -E AGRRAAM -d < CHAL1924\msg_01.cry PRESIDENTOFTHEUNITEDSTATESINVITATIONTODISCUSSPACIFICOCEANPOLICIESCOMES LIKEABOMBTOJAPANWHOWASPREPAREDTOCONSIDERREDUCTIONARMAMENTSBUTRESENTSDI SCUSSIONASIATICPROBLEMSASUNWARRANTEDINTERFERENCEGREATESTBLOWTOPRIDEAND PREJUDICEISINVITATIONTOCHINATOPARTICIPATEFOLLOWINGJAPANSFAILURETORENEW BRITISHALLIANCEBRINGSREALIZATIONOFNATIONSISOLATION The Friedman's decryption of the 10 messagesThe 1st messageThe External key: AGRRAAMP R E S I D E N T O F T H E U N I T E D S T A T E S I N V I T A T I O N T O D I S C U S S P A C I F I C O C E A N P O L I C I E S C O M E S L I K E A B O M B T O J A P A N W H O W A S P R E P A R E D T O C O N S I D E R R E D U C T I O N A R M A M E N T S B U T R E S E N T S D I S C U S S I O N A S I A T I C P R O B L E M S A S U N W A R R A N T E D I N T E R F E R E N C E G R E A T E S T B L O W T O P R I D E A N D P R E J U D I C E I S I N V I T A T I O N T O C H I N A T O P A R T I C I P A T E F O L L O W I N G J A P A N S F A I L U R E T O R E N E W B R I T I S H A L L I A N C E B R I N G S R E A L I Z A T I O N O F N A T I O N S I S O L A T I O N The 2nd messageThe External key: COBBAANZ E P P L I N C O M P A N Y A C C E P T A L L G E N E R A L C O M P R E S S I O N R E Q U I R E M E N T S A N D A R E A N X I O U S T O P R O C E E D A S S O O N A S P O S S I B L E B U T T H E Y P R O P O S E S E V E R A L M O D I F I C A T I O N S W H I C H D E P A R T M E N T S H O U L D C O N S I D E R X A N D W H I C H A R E I N M A I L M E A N W H I L E T H E P R E S E N T G E R M A N L A W M U S T B E A M E N D E D B Y G E R M A N L E G I S L A T U R E B E F O R E Z E P P L I N C O M P A N Y C A N P R O C E E D S T O P I A M T O L D T H A T T H I S A M E N D M E N T C A N N O T B E E F F E C T E D U N D E R T W O O R T H R E E W E E K S The 3rd messageThe External key: BLOOIISC O M P L E T E G E R M A N F I R E C O N T R O L S Y S T E M A V A I L A B L E T O U N I T E D S T A T E S F O R D I R E C T S A L E S Y S T E M E M P L O Y S A L T E R N A T I N G C U R R E N T A N D H A S A C C U R A C Y T O T W O M I N U T E S O F A R C S T O P G E R M A N S H A V E P E R F E C T E D A P P A R A T U S A L O N G L I N E S N O W B E I N G D E V E L O P E D B Y G E N E R A L E L E C T R I C C O M P A N Y S T O P J A P A N E S E A B O u T T O C O N C L U D E N E G O C I A T I O N S F O R P U R C H A S E O F S A M E S T O P G E N E R A L D E S C R I P T I O N I N A C C O R D A N C E W I T H M Y R E P O R T N U M B E R O N E The 4th messageThe External key: AGAANNB (instead of AGAANNA)N A V A L C O U N C I L N O W I N S E S S I O N T O K Y O T O D E T E R M I N E D E M A N D S A T P A C I F I C C O N F E R E N C E P R A C T I C A L L Y A L L A G R E E R A T I O O F J A P A N E S E V E S S E L S T O U N I T E D S T A T E S N A V A L V E S S E L S M U S T B E S E V E N T E N T H S O R T W O S H I P S T O T H R E E S T O P D E C I D E D T O P U T I N R E S E R V E F O U R P R E D R E A D N A U G H T S S E V E N A R M O R E D C R U I S E R S F I V E C R U I S E R S A L L O L D S T O P N A V A L D E L E G A T E S W I L L B E V I C E A D M I R A L K A T O C A P T A I N S Y A M A N A S H I A N D N A G A N O The 5th messageThe External key: CUNNEEOS M I T H S T A T E S C A S E S C O N T A I N I N G C O N T R A B A N D W E R E P O I N T E D O U T T O H I M B Y M A J O R R S S N I V E L Y W H O S T A T E D T H A T T H E Y C O N T A I N E D H O U S E H O L D G O O D S O F H I S S T O P H E R E Q U E S T E D S M I T H T O L O O K O U T F O R T H E M S T O P S M I T H S A I D H E S A W S I M I L A R B O X E S I N C O U R S E O F C O N S T R U C T I O N I N B A C K Y A R D O F S N I V E L Y S Q U A R T E R S A N D S A W A S I M I L A R B O X W I T H O N E C O R N E R O P E N A T P O L I C I A B A R R A C K S I N T H I S B O X H E R E C O G N I Z E D A C A S E M A R K E D H A I G A N D H A I G The 6th messageThe External key: DOVVEERW U S F O R C E O F T W E N T Y F I V E T H O U S A N D M E N E X E C U T I N G N O R T H E R N E N C I R C L I N G M O V E M E N T C H A N G S P O S I T I O N V I C I N I T Y O F R I V E R B E C A M E U N T E N A B L E C H A N G S A R M Y I S W I T H D R A W I N G I N T O M A N C H U R I A F O R R E O R G A N I Z A T I O N W H E R E W U I N A L L P R O B A B I L I T Y W I L L N O T F O L L O W F O R F E A R O F C O M P L I C A T I O N S W I T H J A P A N D U R I N G W H O L E C A M P A I G N W U W A R N E D A L L A M E R I C A N C I T I Z E N S T O L E A V E I M M E D I A T E L Y A N D S H O W E D G R E L T P E R S O N A L B R A V E R Y R E M A R K A B L E The 7th messageThe External key: GENNOOAG E R M A N C O N T R A C T S F O R Y E A R C O N T E M P L A T E S F O R C U T T I N G U P B R I T I S H W A R S H I P S A S F O L L O W S A P P R O X I M A T E L Y F O R T Y T H O D I C E J E A M M F S Q M R S A Z D Y A W G R H N C L U D I N G E I G H T S U P P O S E D F O U R L A R G E C R U I S E R S T H R E E S M A L L C R U I S E R S F O U R T E E N I N T R O D U C E D A N D T H R E E M O N I T O R S S T O P T H E S E V E S S E L S H A V E B E E N P U R C H A S E D O U T R I G H T A C P B L T Z C Z Z C Z B T X U D T K D V A Q E L O R T S T W O B A T T L E S H I P S O F D A N T O N C L A S S P U R C H A S E D F O R S C R A P P I N G The 8th messageThe External key: HAGGUUEH A V E A B S O L U T E L Y R E L I A B L E I N F O R M A T I O N T H A T G E R M A N G O V E R A R T M G H A Z E A Q Y A W A R D E D C O N T R A C T T O F I R M F O R D E S T R U C T I O N O F W A R S H I P S H E D F R I E D R I C H S H A F E N I N T E R A L L I E D A E R O N A U T I C A L C O M M I S S I O N N O T I F I E D Y E S T E R D A Y G E R M A N G O V E R N M E N T W O R K O F D E S T R U C T I O N M U S T C O M M E N C E B Y J U L Y T H I R T Y E V E N I F N E C E S S A R Y T O B L O W I T U P I N T E R A L L I E D C O M M I S S I O N I S E X E R T I N G P R E S S U R E O N G E R M A N G O V E R N M E N T The 9th messagesThe External key: MONNTTEZ E P P L I N C O M P A N Y A C C E P T A L L G E N E R A L C O M P R E S S I O N R E Q U I R E M E N T S A N D A R E A N X I O U S T O P R O C E E D A S S O O N A S P O S S I B L E T I M E T O E X E C U T E O N E Y E A R B U T T H E Y P R O P O S E S E V E R A L M O D I F I C A T I O N S W H I C H D E P A R T M E N T S H O U L D C O N S I D E R A N D W H I C H A R E I N M A I L S T O P M E A N W H I L E T H E P R E S E N T G E R M A N L A W M U S T B E A M E N D E D B Y G E R M A N L E G I S L A T U R E B E F O R E Z E P P L I N C O M P A N Y C A N P R O C E E D F U R T H E R I N T H E M A T T E R The 10th messageThe External key: NEPPAALA R M Y G E N E R A L S T A F F C I R C U L A T I N G J A P A N E S E P R O P A G A N D A H E R E A N D C H I N A S T O P U N I T E D S T A T E S M I L I T A R Y A N D E C O N O M I C A L M E N A C E S T O P H E R I N T E R F E R E N C E C H I N A A N D S I B E R I A C O M P E L S J A P A N T O B U I L D A N M A X N T A I N N A V Y B E Y O N D M E A N S S T O P W I L L I N G T O M A K E S O M E R E D U C T I O N B U T M U S T R E T A I N N A V A L S U P R E M A C Y O F W E S T E R N H E M I S P H E R E P R E V E N T A M E R I C A F R O M E V E R I N T E R F E R I N G I N T H E I R D O I N G S I N T H I S P A R T O F T H E W O R L D My decryption of the 10 messagesThe cryptograms are those published by Friedman. So my decipherments should be identical to Friedman's. There are differences. I think the main reason is that Friedman's decipherments were mainly carried out based on simple substitutions limited to 26 letters with knowledge of the wiring of rotors I and V. My decipherments are carried out automatically thanks in particular to the wiring of the rotors II, III and IV. These wirings were never used by Friedman. We remind you that the complete indicators (AGRRAAM, BLOOIIS, etc.) were given to him by the Navy AFTER Friedman gave his solution! These indicators are necessary to find the wiring of rotors II, III and IV. In addition, the wiring found by Friedman for rotors II, III and IV do not allow you to decipher the Navy cryptograms. Notes:
C:\H5_TOOLS> type CHAL1924\fri_01.cry JNUTX HVZSL UMLZX HXHOH YBRCL MSUFC DSUFM OVKCN KYNNG AUWYL IQZUT LWBYD GOWKH RXTCJ CSVGJ JFYVJ SRCEZ UQKDO YTXVT VCASN QPGEC ARUCW LDDCU QDXFL CBKDB ECHXD GVAYE EUZHW RWVVP VDVMG ENJWV UUENM OQJPU MVKGW QCZWK RIIXM JACLN SWEAM IAUUV WVBLE MBOSP XFRRS GOWCJ LVMHY AJEZG FYBUD AZLOQ UMTZT OVTBD KWHAC HYNYO BNPIH RTKSX FGWMN LNGOH YMKHP GWIEB ELABL ZCJUC LJXSO UDLWU TAFIA RTUSN GXAZB OHGWP YGZRV C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E AGRRAAM -d < CHAL1924\fri_01.cry PRESIDENTOFTHEUNITEDSTATESINVITATIONTODISCUSSPACIFICOCEANPOLICIES COMESLIKEABOMBTOJAPANWHOWASPREPAREDTOCONSIDERREDUCTIONARMAMENTSBU TRESENTSDISCUSSIONASIATICPROBLEMSASUNWARRANTEDINTERFERENCEGREATES TBLOWTOPRIDEANDPREJUDICEISINVITATIONTOCHINATOPARTICIPATEFOLLOWING JAPANSFAILURETORENEWBRITISHALLIANCEBRINGSREALIZATIONOFNATIONSISOL ATION C:\H5_TOOLS> type CHAL1924\fri_02.cry BJENF CADDA YGKNS FRBHW LUKJP QUQIS AHSVI HSWDT IDYAB JGTKK MYXOL DYNVH CBQTJ ONIYX JMJDO DTBLR KSNZK MKPXU SUDSO CRJIY ATXJX MRYWF ZHEBB ZEBXF FWHPF VYHFV BSAGB TALZU GGEXA XAKXY IHHNF TDTLL OWUOA INHNJ WYBPT AYIDG JBNUV JLYTG FCDNF QJPLX TJCJR PHKZG GVJMX FMCZT QKZST FHSWO UDTRZ LUPJT YBGJC PONXY AQYHH MCWMW YBHIW IVOZH HJKEO WYICE ACYYO QVGWC SFSZU ENJQI OPDJF UCUBT OVWPZ AQSTM KGIHG Z C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E COBBAAN -d < CHAL1924\fri_02.cry ZEPPLINCOMPANYACCEPTALLGENERALCOMPRESSIONREQUIREMENTSANDAREANXIOU STOPROCEEDASSOONASPOSSIBLEBUTTHEYPROPOSESEVERALMODIFICATIONSWHICH DEPARTMENTSHOULDCONSIDERXANDWHICHAREINMAILMEANWHILETHEPRESENTGERM ANLAWMUSTBEAMENDEDBYGERMANLEGISLATUREBEFOREZEPPLINCOMPANYCANPROCE EDSTOPIAMTOLDTHATTHISAMENDMENTCANNOTBEEFFECTEDUNDERTWOORTHREEWEEK S C:\H5_TOOLS> type CHAL1924\fri_03.cry PZXXO ZWTSR SFFBX KHYXB YJNIR NLIFK VORAR BVZUG VACCN BTYLP CWTOL QDVHA ZZGZP GJPFE RMQUD PKFKQ EMDSO DLMOK RTDUV CANLZ QBORW IUPFH QOOGX MTMIJ MVUBZ GAHPN GQRJF TLSIP NLWCK IETHI KOSER OIBJO PHXSV XGLYU FYAEL GKOLA LFVEF HRNZD XIXZK VBGIQ PMLRY HAQHQ UGQXO UKCMP AQURN ZEACX NTXIC LRSZO AAPHB IKSDC HRYRS WWDYC QSKKU BJIQW QFJHN UKZUS DRIBN WMSCS FMNHQ DUPPU QLUUR AHXNG QEDJM RWXXK RYSV C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E BLOOIIS -d < CHAL1924\fri_03.cry COMPLETEGERMANFIRECONTROLSYSTEMAVAILABLETOUNITEDSTATESFORDIRECTSA LESYSTEMEMPLOYSALTERNATINGCURRENTANDHASACCURACYTOTWOMINUTESOFARCS TOPGERMANSHAVEPERFECTEDAPPARATUSALONGLINESNOWBEINGDEVELOPEDBYGENE RALELECTRICCOMPANYSTOPJAPANESEABOUTTOCONCLUDENEGOTIATIONSFORPURCH ASEOFSAMESTOPGENERALDESCRIPTIONINACCORDANCEWITHMYREPORTNUMBERONE C:\H5_TOOLS> type CHAL1924\fri_04.cry FSRUX MMFYE PAJIU KXJSQ SGZIR KSRYL LRDYC OVZOE EKAPN ZRQBP OSSEP QDXGD LTNAO PRRNF OBZFL CKGMK CLMXL LJHVV OHUDH VOGAK DICSC BEYXM PYTRD KKVJD WDOAL JZCQN MWTYU ODYZC OESNW TSFYC GPXVR VJCEY YVLGW PIPYR MKZOM CLGPC SOZSC CANPN XYWYK SKJHL LZFNZ QYSBZ OLTIX MRUJU ZAMPK QADBR BCORP UGJIH KAJKL KMGSP EGRES IFAIX ZQFIW MADUC FMIVD AESIE UOZSO BHMQN WNDUR GOLBG RUBHC VIQUA UNGW C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E AGAANNB -d < CHAL1924\fri_04.cry NAVALCOUNCILNOWINSESSIONTOKYOTODETERMINEDEMANDSATPACIFICCONFERENC EPRACTICALLYALLAGREERATIOOFJAPANESEVESSELSTOUNITEDSTATESNAVALVESS ELSMUSTBESEVENTACQHYEJDMUBDWOEGJKZWNDDTOPDECIDEDTOPUTINRESERVWUUU RPREDREADNAUGHTSSEVENARMOREDCRUISERSFIVECRUISERSALLOLDSTOPNAVALDE LEGATESWILLBEVICEADYJEABUSFGMYEOCCIXQGMANASHIANDNAGANO C:\H5_TOOLS> type CHAL1924\fri_05.cry HKWZA RRPBQ BIVYS MPDMQ MVUDC EMZXD PIDLI AWWUB QMEZP IXISN HRIQO WYINR CXYMX HJZCR HATHS BZPML KVOUZ RSAUG OHLTK OUZJE CXLSK DHWBI LESKS WGZGP RUIQL HJJPM KDQEU DKMIG EOJLR ZDKNN PNYXY HNMSS YWQDW DKVOB BGLUE BWMZX DWKSA VUEAS ULCOG RQLZW UKIKT JZPOW IIXHL JBHFK BWVGG LAGGY ICYVC JABXN DIWCC EMHGK QQDCB IGRIA ZEHOF ORZFF JONFI VSMOQ WTZIS WZLIE UEYZP BQEZI QGOPL VWBTI XHQBX RZSIV ZMCSP Z C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E CUNNEEO -d < CHAL1924\fri_05.cry SMITHSTATESCASESCONTAININGCONTRABANDWEREPOINTEXGPRAEGXSBYMAJORRSS NIVELYWHOSTATEDTHATTHEYCONTAINEDHOUSEHOLDGOODSOFHISSTOPHEREQUESTE DSMITHTOLOOKOUTFORTHEMSTOPSMITHSAIDHESAWSIMILARBOXESINCOURSEOFCON STRUCTPRNINBACKYARDOFSNIVELYSQUARTERSANDSAWASIMILARBOXWITHONECORN EROPENATPOLICIABARRACKSINTHISBOXHERECOGNIZEDACASEMARKEDHAIGANDHAI G C:\H5_TOOLS> type CHAL1924\fri_06.cry LPIOU EZKSJ BXCAF EUKSD WHRYS NWANI PUJMZ AHOUY VUVOE CNBSM PNLQA PTAGG VHRMZ VBNZI IXPBO LYXBS SMBWL HVXVS PZIKO GOOCC FEKXM RALNV RSKAE SDSMT GRXSY PSMGS GZBVD ENWZS IVJES VWYJR GXEPI XVEJE BHIFG SVPXX GAZCQ CZSFR IVWWD GVAHG HQLVL MVBUS WXYZH NWWTN KVBZU YRTPM RWPIC VQZPD NXCEW YRMHD WNPZL WCCNX WTLVK GLPEN TMEGL CUMEV KHZYN AHDST JLDHJ BNIQW NWATI TLSJF UARYN WLEFK OSPSC FAZWS NTQYB XQMGG VAN C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E DOVVEER -d < CHAL1924\fri_06.cry WUSFORCEOFTWENTYFIVETHOUSANDMENEXECUTINGNORTHERNENCIRCLINGMOVEMEN TCHANGSPOSITIONVICINITYOFRIVERBECAMEUNTENABLECHANGSARMYISWITHDRAW INGINTOMANCHURIAFORREORGANIZATIONWHEREWUINALLPROBABILITYWILLNOTFO LLOWFORFEAROFCOMPLICATIONSWITHJAPANDURIPKSGMAAYCMBSCQODRRHVUEDPLL AMERICANCITIZENSTOLEAVEIMMEDIATELYANDSHOWEDGRELTPERSONALBRAVERYRE MTIGURCT C:\H5_TOOLS> type CHAL1924\fri_07.cry BYPFM LWQYS DZUWX QGMGX NKTRV KVTTB YTPVD ZTNNN ROTLD HSWWG MIPBZ ZCGPG PRVTB MBYBU QQOUR QDMDB NEQDS BHYCZ JXSJR LIGGD JDVAT HYWRU WXLBY YILJY VTNDB QTZWH XDQCC GMOUR YXWCT BJPNR MFFOV LZQDV BZQAT OCQZE WDKLW HHPVW AUTUN KAEIS JTBZP ILLVM KQBOY XJMHU KFHBG XSAHZ OOIQN MGMOG YBWUH YFKOT SPLIB OFEWK DYADX ZSNXL JQWOS KURLE OGLSV ZWWGO YQCWJ SADPS OQUYH DSURS ENXTM FTQYL OSWUM JLPVA QKT C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E GENNOOA -d < CHAL1924\fri_07.cry GERMANCONTRACTSFORYEARCONTEMPLATESFORCUTTINGUPBRITISHWARSHIPSASFO LLOWSAPPROXIMATELYFORTYTHODICFJEAMMFSQMRSAZDYAWGRHNCLUDINGEIGHTSU PPOSEDFOURLARGECRUISERSTHREESMALLCRUISERSFOURTEENINTRODUCEDANDTHR EEMONITORSSTOPTHESEVESSELSHAVEBEENPURCHASEDOUTRIGHTACPBLTZCZZCZBT XUDTKDVAQELORTSTWOBATTLESHIPSOFDANTONCLASSPURCHASEDFORSCRAPPING C:\H5_TOOLS> type CHAL1924\fri_08.cry SYYGS TXVPM AGVQJ TARQR MFLAH WTZLB HTVDR OHHBH PDQNT KQQHS FJMCF OJAAM KWYSX VBIWO AJZGZ EJADC KWZKR IITIN OVUOZ PYLHT YSRPW GLRVY FGBAI HPUCB RKOZU GCCHW ZDIXG RBAPZ GCUNV KUATD YXVEK NWYXR VPDWK GUXJB XEODS PQSAX AOZMB VKFGM GZIFO DOFZI FTELV MUDCB VPOPT NOAGI NKLBW VXJVC VZYKA WOPTE CPYCU WIIJK BQPWO THSGL SYDFQ UQNJV RQGBS NJHBS PXQVS UMHKW YIBCY HOWFV FJNNA UJFLS CO C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E HAGGUUE -d < CHAL1924\fri_08.cry HAVEABSOLUTELYRPLIABLEINFORMATIONTHATGERMANGOVERARTMGHAZEADYAWARD EDCONTRACTTOFIRMFORDESTRUCTIONOFAIRSHIPSHEDFRIEDRICHSHAFENINTERAL LIEDAERONAUTICALCOMMISSIONNOTIFIEDYESTERDAYGERMANGOVERNMENTWORKOF DESTRUCTIONMUSTCOMMENCEBYJULYTHIRTYEVENIFNECESSARYTOBLOWITUPINTER ALLIEDCOMMISSIONISEXERTINGPRESSUREONGERMANGOVERNMENT C:\H5_TOOLS> type CHAL1924\fri_09.cry HDRYY ZYTOU JJSLS WCRNU LSAEX TGWPZ YVGIV CBXYR KRHNZ ZWJAY YNRYV FZJSK GOVDU QZTHH SYGEG KOAQF ZHXRP MHYZT JLIUN XXUJA IVSST FXTZL JVUVE YYGOD ZLNML VKUOF RXHVK IHPFL NCELF QFSQZ SWHLE HDTGS BUHET UZACA MHVPD JZKIF AJGVO RHXOD JSJBU SKBHH FNIBY XYXDI HLKEH QJELC HUKFN COZDY CKTYP QPCDC HOMUL ZPOAT XITVK TCKWN TQJEV ODGGC UZQWD VWQXZ ENEQE SHCEC LUHPS HEXGE KOE C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E MONNTTE -d < CHAL1924\fri_09.cry ZEPPLINCOMPANYACCEPTALLGENERALCOMPRESSIONREQUIREMENTSANDAREANXIOU STOPROCEEDASSOONASPOSSIBLETIMETOEXECUTEONEYEARBUTTHEYPROPOSESEVER ALMODIFICATIONSWHICHDEPARTMENTSHOULDCONSIDERANDWHICHAREINMAILSTOP MEANWHILETHEPRESENTGERMANLAWMUSTBEAMENDEDBYGERMANLEGISLATUREBEFOR EZEPPLINCOMPANYCANPROCEEDFURTHERINTHEMATTER C:\H5_TOOLS> type CHAL1924\fri_10.cry ZNSII BXARU NDEGX DZMMQ XYAYT FGBEU ZWCLG RBMQK TCCGH VPTFA BXDHH UDXZS PNOLY VCTRE CGJSE AJLWT PMLJB RYOMC VTNPQ PYDMN TSCPU FEXVM NPXQY IIRFX ZZGKG ZTCYD VWQIA FMVDU FCLQJ AGCZA BBDKT IUEJY WPOTP FGWLB XMMBD JVLFQ FQWTP XDJKB XCNIF SCMGS TGBTO REMTE KLHCC UPDQX CPTFO BLMVY ZRIRM VHDGG HVTFW QRQFH KHNLX QJITN CSGSN SEJQW RBIUK VGTOU ETBWP LCJYC XQTBP JDMUS IROKY MADOB VUPZM BKHVB C:\H5_TOOLS> python hebern5_tui.py -I N1:R2jf:R3jf:R4jf:N5 ^ -E NEPQAAL -d < CHAL1924\fri_10.cry ARMYGENERALSTAFFCIRCULATINGJAPANESEPROPAGANDAHEREANDCHINASTOPUNIT EDSTATESMILITARYANDECONOMICALMENACESTOPHERINTERFERENCECHINAANDSIB ERIACOMPELSJAPANTOBUILDANMAINTAINNAVYBEYONDMEANSSTOPWILLINGTOMAKE SOMEREDUCTIONBUTMUSTRETAINNAVALSUPREMACYOFWESTERNPOTEAUAXXHAMRKMN TAMERICAFROMEVERINTERFERINGINTHEIRDOINGSINTHISPARTOFTHEWORLD Back to Friedman rotorsI was very intrigued by the fact that I could not use Friedman's II, III and IV rotors to decipher Navy cryptograms. Were they false? I manually tried to find a transformation (inversion, shift, mirror, ...) that would allow me to move from Friedman's wiring to those I discovered. I did not succeed. I then (for other reasons) developed a signature program which allows me to identify a rotor independently of whether it has undergone a rotation or a twist effect. This program is described in my page rotor. It followed the same approach as my manual tests. I tested my program on Friedman rotors. I was happily surprised that they had the same signatures as mine. I incidentally concluded that my manual tests were marred by errors. So the twist effect was the main reason they differed. Here are the signatures of rotors II, III and IV (N2,N3 and N4 are Friedman's rotors and R2jf,R3jf and R4jf are my rotors): C:\H1_TOOLS> python signature.py -R N2 -p PI : ORLWVJFPXMHYGTKNCZSUEADIQB Signature: [1, 9, 21, 2, 4, 7, 10, 12, 2, 19] C:\H1_TOOLS> python signature.py -R N3 -p PI : TSKPLDRBEIZGJOCFWNVXUAYHQM Signature: [1, 22, 5, 23, 8, 8, 21, 6, 24, 17] C:\H1_TOOLS> python signature.py -R N4 -p PI : YERTIQFNJOHVAWBLKDSXMCPZGU Signature: [1, 14, 7, 14, 7, 21, 4, 18, 13, 4] C:\H1_TOOLS> python signature.py -R R2jf -p PI : NQKVUIEOWLGXFSJMBYRTDZCHPA Signature: [1, 9, 21, 2, 4, 7, 10, 12, 2, 19] C:\H1_TOOLS> python signature.py -R R3jf -p PI : DVAWOCMPTKRUZNQHYGIFLJSBXE Signature: [1, 22, 5, 23, 8, 8, 21, 6, 24, 17] C:\H1_TOOLS> python signature.py -R R4jf -p PI : SRKZETJWGNBFLYAPXMUQVOCHDI Signature: [1, 14, 7, 14, 7, 21, 4, 18, 13, 4] How do I get from Friedman's wiring to mine? All I had to do was inspect the cipher tables for each rotor. Here is the answer :
Conclusion: Friedman has found the wiring of all the rotors (not exclusively those of rotors I and V). On the other hand, I still don't understand how he could decipher a message using his results. Web Links
|