Скачать книгу

alt="r 1"/> is redefined as upper R e m left-bracket r 1 plus 1 comma 26 right-bracket. If r 1 equals 25 and we add 1, the new r 1 becomes 0 and r 2 is advanced by one.

      Similarly, if r 2 equals 25 and we add 1, the new r 2 becomes 0 and r 3 is advanced by one.

       Let us see what happens when we encode the letter “k,” which has numerical value 10.

StartLayout 1st Row 1st Column a 2nd Column equals 3rd Column 10 2nd Row 1st Column b 2nd Column equals 3rd Column upper R e m left-bracket a plus r 1 comma 26 right-bracket Superscript alpha 1 4th Column equals 5th Column upper R e m left-bracket 10 plus 22 comma 26 right-bracket Superscript alpha 1 6th Column equals 7th Column 6 Superscript alpha 1 8th Column equals 9th Column 10 3rd Row 1st Column c 2nd Column equals 3rd Column upper R e m left-bracket b plus r 2 comma 26 right-bracket Superscript alpha 2 4th Column equals 5th Column upper R e m left-bracket 10 plus 7 comma 26 right-bracket Superscript alpha 2 6th Column equals 7th Column 1 7 Superscript alpha 2 8th Column equals 9th Column 19 4th Row 1st Column d 2nd Column equals 3rd Column upper R e m left-bracket c plus r 3 comma 26 right-bracket Superscript alpha 3 4th Column equals 5th Column upper R e m left-bracket 19 plus 12 comma 26 right-bracket Superscript alpha 3 6th Column equals 7th Column 5 Superscript alpha 3 8th Column equals 9th Column 0 EndLayout

      Reaching the reflector, we get e equals left-parenthesis d right-parenthesis Superscript beta Baseline equals 0 Superscript beta Baseline equals 4. Now following the signal back through the rotors, we obtain

StartLayout 1st Row 1st Column c prime 2nd Column equals 3rd Column upper R e m left-bracket e Superscript alpha 3 Super Superscript negative 1 Superscript Baseline minus r 3 comma 26 right-bracket 4th Column equals 5th Column upper R e m left-bracket 4 Superscript alpha 3 Super Superscript negative 1 Superscript Baseline minus 12 comma 26 right-bracket 6th Column equals 7th Column upper R e m left-bracket 18 minus 12 comma 26 right-bracket 8th Column equals 9th Column 16 2nd Row 1st Column b prime 2nd Column equals 3rd Column upper R e m left-bracket c Superscript prime alpha 2 Super Superscript negative 1 Superscript Baseline minus r 2 comma 26 right-bracket 4th Column equals 5th Column upper R e m left-bracket 1 6 Superscript alpha 2 Super Superscript negative 1 Superscript Baseline minus 7 comma 26 right-bracket 6th Column equals 7th Column upper R e m left-bracket 15 minus 7 comma 26 right-bracket 8th Column equals 9th Column 8 3rd Row 1st Column a prime 2nd Column equals 3rd Column upper R e m left-bracket b Superscript prime alpha 1 Super Superscript negative 1 Superscript Baseline minus r 1 comma 26 right-bracket 4th Column equals 5th Column upper R e m left-bracket 8 Superscript alpha 1 Super Superscript negative 1 Superscript Baseline minus 22 comma 26 right-bracket 6th Column equals 7th Column upper R e m left-bracket 14 minus 7 comma 26 right-bracket 8th Column equals 9th Column 7 EndLayout

       Therefore, the first cipher text character corresponds to 7, and is thus is “H.”

      Now, we must update the rotor settings: r 1 equals 23 comma r 2 equals 7 comma r 3 equals 12.

      If the settings were such that r 1 was 25, the updating process would proceed as follows: r 1 equals 0, r 2 equals 8, r 3 equals 12.

       As mentioned above, an interesting aspect about the Enigma enciphering scheme is the fact that deciphering a message follows the exact same process.

      With the advent and ubiquity of computer‐based encryption systems, cryptanalysis has shifted the emphasis from attacks based purely on the ciphering scheme to attacks on other aspects of cryptosystems, such as authentication, key exchanges, and digital signatures. We will detail some of these techniques later in the book, after the basis for modern ciphers, authentication, and digital signatures are developed.

      1 2.1 Encipher the plain text message “encode” using the following Cipher: schemes:Caesar cipher with .Caesar cipher with .(See Solution 2.1.)

      2 2.2 Using the Scytale cipher with k = 2, encipher the plain text message “encode”. Compare your results with those from Problem 2.1. (See Solution 2.2.)

      3 2.3 Decode the following cipher text, given that it has been produced by a Caesar cipher: JRYYQBAR (See Solution 2.3.)

      4 2.4 Is any additional security gained by enciphering a message using two monoalphabetic ciphers with different keys in succession? (See Solution 2.4.)

      5 2.5 Encipher the first sentence of Homer's “Odyssey” using a Scytale cipher with key = 7.TELL ME O MUSE, of that ingenious hero who traveled far and wide after he had sacked the famous town of Troy.(See Solution 2.5.)

      6 2.6 Explain how frequency distribution can be used to determine if a given entry of cipher text was produced using a substitution cipher or a transposition cipher.(See Solution 2.6.)

      7 2.7 Use the Vigenère cipher with keyword “ODYSSEY” to encipher the first sentence of Homer's “Odyssey.” Compare the cipher text with the results obtained from Problem 2.5. (See Solution 2.7.)

      8 2.8 Decipher the message below, using the fact that the keyword ‘CIPHER’ was used to encode it.VPXZG ZRTYM JGIHF XFDZT HOZHW CLOEQ EHALV MMNDS IF(See Solution 2.8.)

      9 2.9 Suppose Caesar sends a message to one of his generals, and the message contains only one letter. What can you say about the message's security and why? (See Solution 2.9.)

      10 2.10 Does the Enigma machine perform substitution enciphering or transposition enciphering? Explain. (See Solution 2.10.)

      11 2.11 Ignoring the plugboard, how many possible initial settings are there for the three‐rotor Enigma machine? (See Solution 2.11.)

      12 2.12 Using the rotor and reflector permutation sets, along with the initial rotor settings, from the example in Section 2.7, encipher the following message: “move out!”. (See Solution 2.12.)

      13 2.13 Find the period of the given cipher text, given that it was enciphered by the Vigenère cipher (see Section 2.6).LVCKO GXKRR ITSKC XIPOG GZLCB GYXFC AYGDI RBMAU CFYAC FIPGM RRXFO JPSIB WELDI QDJPO USORA IHGCX PSFSD MMXEL NEJSX RVIJE GISXA KRZOH MXI (See Solution 2.13.)

      14 2.14 Using the results of Problem 2.13, determine the keyword used to encipher the passage above (See Solution 2.14.)

      15 2.15 Use the Enigma Machine with initial settings given in Section 2.7 to decipher the following message: YDDMYU (See Solution 2.15.)

      16 2.16 Take

Скачать книгу