Esempio n. 1
0
 /// <summary>
 /// Enigma K Railway Reflector
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static ReflectorK Reflector(Letters ring, Letters position)
 {
     return(new ReflectorK(LetterMapper.CreateLettersArray("QYHOGNECVPUZTFDJAXWMKISRBL"), ring, position));
 }
Esempio n. 2
0
 public static Reflector ReflectorB()
 {
     return(new Reflector(LetterMapper.CreateLettersArray("YRUHQSLDPXNGOKMIEBFZCWVJAT")));
 }
Esempio n. 3
0
 public static Reflector ReflectorThinB()
 {
     return(new Reflector(LetterMapper.CreateLettersArray("ENKQAUYWJICOPBLMDXZVFTHRGS")));
 }
Esempio n. 4
0
 /// <summary>
 /// Enigma direct entrywheel
 /// </summary>
 /// <returns></returns>
 public static EntryWheel EntryWheelDirect()
 {
     return(new EntryWheel(LetterMapper.CreateLettersArray("ABCDEFGHIJKLMNOPQRSTUVWXYZ")));
 }
Esempio n. 5
0
 public static Reflector ReflectorA()
 {
     return(new Reflector(LetterMapper.CreateLettersArray("EJMZALYXVBWFCRQUONTSPIKHGD")));
 }
Esempio n. 6
0
 /// <summary>
 /// Enigma thin additional rotor beta
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorBeta(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("LEYJVCNIXWPBQMDRTAKZGFUHOS"), Letters.A, ring, position));
 }
Esempio n. 7
0
 /// <summary>
 /// Enigma qwertz entrywheel
 /// </summary>
 /// <returns></returns>
 public static EntryWheel EntryWheelQwertz()
 {
     return(new EntryWheel(LetterMapper.CreateLettersArray("QWERTZUIOASDFGHJKPYXCVBNML")));
 }
Esempio n. 8
0
 /// <summary>
 /// Enigma K Railway rotor II
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorKII(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("NTZPSFBOKMWRCJDIVLAEYUXHGQ"), Letters.E, ring, position));
 }
Esempio n. 9
0
 /// <summary>
 /// Enigma K Railway rotor III
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorKIII(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("JVIUBHTCDYAKEQZPOSGXNRMWFL"), Letters.Y, ring, position));
 }
Esempio n. 10
0
 /// <summary>
 /// Enigma standard rotor V
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorV(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("VZBRGITYUPSDNHLXAWMJQOFECK"), Letters.Z, ring, position));
 }
Esempio n. 11
0
 /// <summary>
 /// Enigma K Railway rotor I
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorKI(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("JGDQOXUSCAMIFRVTPNEWKBLZYH"), Letters.N, ring, position));
 }
Esempio n. 12
0
 /// <summary>
 /// Enigma standard rotor IV
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorIV(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("ESOVPZJAYQUIRHXLNFTGKDCMWB"), Letters.J, ring, position));
 }
Esempio n. 13
0
 /// <summary>
 /// Enigma standard rotor III
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorIII(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("BDFHJLCPRTXVZNYEIWGAKMUSQO"), Letters.V, ring, position));
 }
Esempio n. 14
0
 /// <summary>
 /// Enigma standard rotor II
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorII(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("AJDKSIRUXBLHWTMCQGZNPYFVOE"), Letters.E, ring, position));
 }
Esempio n. 15
0
 /// <summary>
 /// Enigma standard rotor I
 /// </summary>
 /// <param name="ring"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static Rotor RotorI(Letters ring, Letters position)
 {
     return(new Rotor(LetterMapper.CreateLettersArray("EKMFLGDQVZNTOWYHXUSPAIBRCJ"), Letters.Q, ring, position));
 }
Esempio n. 16
0
 public static Rotor RotorPassThrough()
 {
     return(new Rotor(LetterMapper.CreateLettersArray("ABCDEFGHIJKLMNOPQRSTUVWXYZ"), Letters.A, Letters.A, Letters.A));
 }