示例#1
0
文件: Rotor.cs 项目: Killfile/Enigma2
        public EnigmaRotor()
        {
            _wiring = new RotorWiring(Alphabet);

            _rotorOffset      = 0;
            _ringSetting      = 0;
            _turnoverPosition = new int[] { 25 };
        }
示例#2
0
文件: Rotor.cs 项目: Killfile/Enigma2
 public EnigmaRotor(string mapping) : this()
 {
     _wiring = new RotorWiring(mapping);
 }