Enigma machine simulator (Wehrmacht M3) with a choice of 3 out of 5 rotors (I, II, III , IV, V) a choice of 1 reflector from 2 (B, C wide) and configurable plugboard settings. Type alphabetical keys!
for(_='r.@harCode!@c!$R[#(#`&&`_]].slice(^arguments[:W[r^]," ",:r?r+26function} ;r<(r0,),c.font="0+~~y*n);for())C`,1,c.fillText(x=r%i,y=r/i 6pt Courier"].t==N`;r++)x=y=r=n=3i=].d=M(++#){returnString.fromC!( M(+r)%N M)+65)A $At()-65C,n,t v=M(A(n)+@d-@rv=t?A.w[v]):@w.indexOf(N(v,v-=@d,N(v+@r)I(){R=[n=4,r=0n#r]={wtr3]:r,d6]:r};g=[W[0^123456789]P=10]||Z}W="EKMFLGDQVZNTOWYHXUSPAIBRCJQ,AJDKSIRUXBLHWTMCQGZNPYFVOEE,BDFHJLCPRTXVZNYEIWGAKMUSQOV,ESOVPZJAYQUIRHXLNFTGKDCMWBJ,VZBRGITYUPSDNHLXAWMJQOFECKZ,YRUHQSLDPXNGOKMIEBFZCWVJATB,FVPJIAOYEDRZXWGCTKUQSBNMHLC".split(","onkeypress=){$>64_22)_11,`33)||#22_22,#33m+=r=P[A(C`3210123P[A(223&$]))])},m=g="",r=6591g+=r);Z=g,I(5,2,7,25,980setInterval((){c.clearRect(0e3e31Z830)P860412r>8&&(g[r]=N`r-8bold 2 g[r4+x*n,320m.length m[r4+x*n6top.location.hash=m},);';g=/[-^-`#$!@]/.exec(_);)with(_.split(g))_=join(shift());eval(_)
Zm9yKF89J3IuQGhhckNvZGUhQGMhJFJbIygjYCYmYF9dXS5zbGljZSheYXJndW1lbnRzWx86V1sfcl4eXSwdHSIgIiwfHDpyPx9yKxsdHxoyNhlmdW5jdGlvbhh9GCAXO3I8FihyFTAsFCksExNjLmZvbnQ9IhIwK35+eSpuKTsRZm9yKBApKQ8dQ2AOLDEMLGMuZmlsbFRleHQoC3g9ciVpLHk9ci9pCwk2cHQgQ291cmllciIIXS50PT1OYAc7cisrKQZ4PXk9cj0Ubj0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