R > HXETCUMASQNZGKRYJO̲̅IDFWVBPL LFAR 10 16 24 08 K > CMAWFEKLNVG̲̅HBIUYTXZQOJDRPS LFAQ 10 16 24 07 OHNKJYSBTEDMLCARWPGIXZQUFV LFAP 10 16 24 06 > putStr $ displayEnigmaOperation cfg "KRIEG" displayOpts P YBCDFEG̲̅HIJZPONMLQRSTXVWUAK UX.MO.KZ.AY.EF.PL P YBCDFEGHIJZ̲̅PONMLQRSTXVWUAK UX.MO.KZ.AY.EF.PL > putStr $ displayEnigmaConfig cfg 'K' displayOpts Show configuration details: > let cfg = configEnigma "b-γ-V-VIII-II" "LFAQ" "UX.MO.KZ.AY.EF.PL" "03.17.04.11" > putStr $ showEnigmaEncoding cfg "FOLGENDES IST SOFORT BEKANNTZUGEBEN" Perform message encoding: > enigmaEncoding (configEnigma "b-γ-V-VIII-II" "LFAP" "UX.MO.KZ.AY.EF.PL" "03.17.04.11") "KRIEG" A Python version with substantially the same API and command line interface, is also This is adapted, as an exercise in learning Haskell, from an earlier learning project written in Mathematica. Last success reported on Īn Enigma machine simulator with state and encoding display.Ĭurrently support is only provided for those machine models in most widespread general use during the war years: the Head: git clone git:///orome/crypto-enigma-hs.git -b develop
0 Comments
Leave a Reply. |