Crypt :: Ooenigma :: ±º´ë

1940 ³â°æ ±º»ç ¼ö¼ö²²³¢ ±â°è.
Áö±Ý ´Ù¿î·Îµå

Crypt :: Ooenigma :: ±º´ë ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Steve Baker
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • ftp://mama.indstate.edu/linux/tree

Crypt :: Ooenigma :: ±º´ë ű×


Crypt :: Ooenigma :: ±º´ë ¼³¸í

1940 ³â°æ ±º»ç ¼ö¼ö²²³¢ ±â°è. Crypt :: ooenigma :: ±º´ë´Â 1940 ³â°æ ±º»ç ¼ö¼ö²²³¢ ±â°èÀÔ´Ï´Ù. Rotors.Synopsis´Â Crypt :: Ooenigma :: ±º´ë¸¦ »ç¿ëÇϱâ Àü¿¡ Ç÷¯±× º¸µå¸¦ Ãß°¡ÇÏ¿© »ó¾÷ ¼ö¼ö²²³¢¿Í ´Ù¸¨´Ï´Ù. # 3 °³ÀÇ ±âº» ·ÎÅÍ (ID ´ëü Æ÷ÇÔ)°¡ÀÖ´Â ¼ö¼ö²²³¢°¡ $ ENIGMA = NEW CRYPT :: OOENIGMA :: ±º´ë; # ¶Ç´Â Crypt :: Ooenigma :: ±º´ë; Crypt :: Ooenigma :: Rotor; my @rotors = () #Àº Crypt :: ooenigma :: Rotor Crypt :: Ooenigma :: ±º´ë -> »õ·Î¿î (·ÎÅÍ => ); # ¶Ç´Â Crypt :: Ooenigma :: ±º´ë; Crypt :: Ooenigma :: Rotor; Crypt :: Ooenigma :: Reflector¸¦ »ç¿ëÇϽʽÿÀ. Crypt :: Ooenigma :: Ç÷¯±× º¸µå »ç¿ë; my @rotors = () #Àº Crypt :: ooenigma :: RotorÀÇ ¸ñ·ÏÀ» ä¿ì°í, °ü·Ã Æ÷µå ³» $ Reflector = New crypt : ooenigma :: Reflector (params); OOEnigma :: Ç÷¯±× ÆÇ (PARAMS); # °ü·Ã Æ÷µå ³» $ Ç÷¯±× ÆÇ = »õ·Î¿î Å©¸³Æ®¸¦ ÂüÁ¶ # °ü·Ã Æ÷µå Crypt :: ooenigma :: ±º´ë -> »õ·Î¿î (·ÎÅÍ => , Ç÷¯±× º¸µå => $ Plugboard, ¹Ý»ç°æ => $ ¹Ý»ç°æ); ³» $ ¾ÏÈ£ = $ enigma-> ÀλçÀÌ ($ Áß mesg); ³» $ µðÄÚµå = $ enigma-> ÀλçÀÌ ($ ¾ÏÈ£); # ³»ºÎ ¿ë Àڱ⠹ÝÀü # $ enigma-> ÃʱâÈ­ (); # Ãʱâ stateThis ¸ðµâ·Î µ¹¾Æ ·ÎÅÍ´Â Ç÷¯±× ÆÇÀº Rotors.You ¾Õ¿¡ Ãß°¡µÇ´Â °ÍÀ» ´Ù¸¨´Ï´ÙÀº ÀϹÝÀûÀ¸·Î ÀÚ½ÅÀÇ Ç÷¯±× ÆÇ, ·ÎÅÍ ¹× ¹Ý»ç°æ°ú ±º»ç ¼ö¼ö²²³¢¸¦ ¸¸µé¾î¾ß ±º»ç ¿¡´Ï±×¸¶¸¦ Á¦°øÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Crypt :: Ooenigma :: ±º´ë °ü·Ã ¼ÒÇÁÆ®¿þ¾î