How about producing strong encryption using your favorite text editor? Want to turn your text editor into Enigma machine? Then just use the text below, to simulate the Enigma cipher. It is best viewed with a wide ~100 character window. If you need to step a rotor, just shift a corresponding set of two strings to the left by erasing one of the preceding spaces. Want to change "ring setting", just shift only the second (permuted) alphabet string to the left by the amount you like. Plugboard? Just add pairs of swaps between the Keyboard and the R1. Note that rotors I, II, III were used in this example (differs from HW1) Setting shown below corresponds to: Ring setting: 1,1,1 Rotor order : I,II,III Plugboard : AB, MG Indicator : A A A -------------------------------------------------------------------------------- Keyboard: ABCDEFGHIJKLMNOPQRSTYVWXYZABCDEFGHIJKLMNOPQRSTYVWXYZ BA M G Rotor R1: ABCDEFGHIJKLMNOPQRSTYVWXYZABCDEFGHIJKLMNOPQRSTYVWXYZ EKMFLGDQVZNTOWYHXUSPAIBRCJEKMFLGDQVZNTOWYHXUSPAIBRCJ Rotor R2: ABCDEFGHIJKLMNOPQRSTYVWXYZABCDEFGHIJKLMNOPQRSTYVWXYZ AJDKSIRUXBLHWTMCQGZNPYFVOEAJDKSIRUXBLHWTMCQGZNPYFVOE Rotor R3: ABCDEFGHIJKLMNOPQRSTYVWXYZABCDEFGHIJKLMNOPQRSTYVWXYZ BDFHJLCPRTXVZNYEIWGAKMUSQOBDFHJLCPRTXVZNYEIWGAKMUSQO ABCDEFGHIJKLMNOPQRSTYVWXYZABCDEFGHIJKLMNOPQRSTYVWXYZ Reflector B: YRUHQSLDPXNGOKMIEBFZCWVJATYRUHQSLDPXNGOKMIEBFZCWVJAT -------------------------------------------------------------------------------- have fun, Alex Biryukov