Changeset 595


Ignore:
Timestamp:
Sep 28, 2009, 5:15:19 PM (12 years ago)
Author:
Matthäus Wander
Message:

incorporated feedback from Christian Meyer:

  • fixed description of Caesar and Vigenere
  • changed NumberInput to allow changes during execution
Location:
trunk/CrypPlugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Caesar/DetailedDescription/Description.xaml

    r172 r595  
    2525    </Paragraph>
    2626    <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    27         <Span xml:lang="en-gb">Characters which are not part of the alphabet are normally left out of the encrypted text (see setting"</Span>
    28         <Span FontWeight="Bold" xml:lang="en-gb">Remove</Span>
    29         <Span xml:lang="en-gb">" under "</Span>
    30         <Span FontWeight="Bold" xml:lang="en-gb">Unknown symbol handling</Span>
    31         <Span xml:lang="en-gb" xml:space="preserve">" in </Span>
    32         <Span FontWeight="Bold" xml:lang="en-gb">Algorithm Settings</Span>
    33         <Span xml:lang="en-gb">). This applies to both punctuation characters and special characters (especially spaces between two words). Which characters build up the alphabet in which order can be selected in the field "</Span>
    34         <Span FontWeight="Bold" xml:lang="en-gb">Alphabet</Span>
    35         <Span xml:lang="en-gb">".</Span>
     27        <Span xml:lang="en-gb">Characters which are not part of the alphabet are normally left out of the encrypted text (see setting "<Span FontWeight="Bold" xml:lang="en-gb">Remove</Span>" under
     28        "<Span FontWeight="Bold" xml:lang="en-gb">Unknown symbol handling</Span>" in <Span FontWeight="Bold" xml:lang="en-gb">Algorithm Settings</Span>.
     29        This applies to both punctuation characters and special characters (especially spaces between two words). Which characters build up the alphabet in which order can be selected in the field
     30        "<Span FontWeight="Bold" xml:lang="en-gb">Alphabet</Span>".</Span>
    3631    </Paragraph>
    3732    <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    38         <Span xml:lang="en-gb">The Caesar encryption algorithm uses one character from the alphabet as key. Depending on the position of this key letter, the letters of the plaintext are shifted in repeated cycles. If the alphabet consists only of upper case letters (this is the default case), a cyclical shift of one character takes place when "A" is entered, two characters for "B", ... and 26 characters for "Z". To decrypt the text, each encrypted letter is simply shifted in the other direction.</Span>
     33        <Span xml:lang="en-gb">The Caesar encryption algorithm uses one character from the alphabet as key. Depending on the position of this key letter, the letters of the plaintext are shifted in repeated cycles. If the alphabet consists only of upper case letters (this is the default case), a cyclical shift of one character takes place when "B" is entered, two characters for "C", ... and 25 characters for "Z". To decrypt the text, each encrypted letter is simply shifted in the other direction.</Span>
    3934    </Paragraph>
    4035    <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16" />
     
    4439            <LineBreak />
    4540        </Span>
    46         <Span xml:lang="en-gb">The letter "Z" should (in the default case of the alphabet) not be used as key, because then the "encrypted" text is identical to the plaintext.</Span>
     41        <Span xml:lang="en-gb">The letter "A" should (in the default case of the alphabet) not be used as key, because then the "encrypted" text is identical to the plaintext.</Span>
    4742    </Paragraph>
    4843    <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    49         <Span xml:lang="en-gb">A special case of Caesar is the so called Rot-13 encryption, which is used in chat rooms and news groups. Rot-13 uses the 26-upper-case-letter alphabet, shifts each character by 13 places (corresponding to a Caesar encryption with key "M") and all non-alphabet letters are kept. A repeated Rot-13 operation yields the plain text again.</Span>
     44        <Span xml:lang="en-gb">A special case of Caesar is the so called Rot-13 encryption, which is used in chat rooms and news groups. Rot-13 uses the 26-upper-case-letter alphabet, shifts each character by 13 places (corresponding to a Caesar encryption with key "N") and all non-alphabet letters are kept. A repeated Rot-13 operation yields the plain text again.</Span>
    5045    </Paragraph>
    5146    <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    52         <Span xml:lang="en-gb">An advancement of the Caesar cipher is the Vigenere cipher.</Span>
     47        <Span xml:lang="en-gb">An advancement of the Caesar cipher is the VigenÚre cipher.</Span>
    5348    </Paragraph>
    5449    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
  • trunk/CrypPlugins/NumberGenerator/GeneratorSettings.cs

    r4 r595  
    217217
    218218    private int integerStartValue;
    219     [TaskPane("Start value", "Integer value to start from.", null, 0, false, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
     219    [TaskPane("Start value", "Integer value to start from.", null, 0, true, DisplayLevel.Beginner, ControlType.NumericUpDown, ValidationType.RangeInteger, 0, int.MaxValue)]
    220220    public int IntegerStartValue
    221221    {
  • trunk/CrypPlugins/Vigenere/DetailedDescription/Description.xaml

    r175 r595  
    8080    <Span xml:lang="en-gb">In the literature, the Vigen&#232;re encryption algorithm is often described in terms of the Vigen&#232;re tableau rather than as a multiple appliance of the Caesar encryption algorithm, since this tableau was used as a manual tool for encryption and decryption in earlier times.</Span>
    8181  </Paragraph>
    82   <Paragraph Margin="0,6.67,0,6.67" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    83     <Span xml:lang="en-gb">In the classical Caesar procedure, the letter "A" means a shift of 1 character position, the letter "B" a shift of 2. In the Vigen&#232;re system on the other hand, the shift is always one character less, i.e. no character for "A", one character for "B", two characters for "C", ... , 25 characters for "Z". Therefore, using the Vigen&#232;re method the plaintext and the encrypted text are identical when the key is "A" (and not "Z", as with the Caesar encryption algorithm).</Span>
    84   </Paragraph>
    8582  <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    8683    <Run xml:lang="en-gb">The Vigen&#232;re encryption algorithm can be broken relatively easy with a ciphertext-only attack.</Run>
Note: See TracChangeset for help on using the changeset viewer.