Changeset 830


Ignore:
Timestamp:
Nov 7, 2009, 5:15:07 PM (12 years ago)
Author:
kopal
Message:

some small changes in the description of the SDES plugin

File:
1 edited

Legend:

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

    r492 r830  
    44                          xmlns:misc="clr-namespace:Cryptool.PluginBase.Miscellaneous;assembly=CrypPluginBase"
    55                          Background="White" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto">
    6    
    7     <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    8         <Span FontFamily="Georgia" FontWeight="Bold" FontSize="18.6666666666667" Foreground="#FF15428B" xml:lang="en-us">
    9             <Span.TextDecorations>
    10                 <TextDecoration Location="Underline" />
    11             </Span.TextDecorations>
    12             Simplified Data Encryption Standard
    13         </Span>
     6
     7    <Paragraph FontSize="22pt">
     8    SDES - the Simplified Data Encryption Standard Description
    149    </Paragraph>
    15     <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    16         <Span FontFamily="Georgia" FontWeight="Bold" FontSize="17" Foreground="#FF15428B" xml:lang="en-us">
    17             <Span.TextDecorations>
    18                 <TextDecoration Location="Underline" />
    19             </Span.TextDecorations>
    20             Description
    21         </Span>
     10    <Paragraph FontSize="20pt">Introduction</Paragraph>
     11
     12    <Paragraph>
     13    SDES is a simplified algorithm similar to DES. It has been developed for educational purposes. Instead of DES it is more easily possible to implement the algorithm. SDES needs a key length of 10 bits for encryption and decryption. Like DES the SDES algorithm is symmetric - this means the same key is used for en- and for decryption. SDES can be easily broken by using a brute force attack, because of its very small key space (2^10 = 1024 possible keys).
    2214    </Paragraph>
    23     <Paragraph TextAlignment="Justify">
    24         <Run FontSize="16" xml:lang="en-us">
    25             SDES is a simplified algorithm similar to DES.
    26             It has been developed for educational purposes.
    27             Instead of DES it is more easily possible to implement the algorithm.
    28             SDES needs a key length of 10 bits for encryption and decryption.
    29             Like DES the SDES algorithm is symmetric - this means the same key is
    30             used for en- and for decryption.
    31             SDES can be easily broken by using a brute force attack, because of its
    32             very small key space (2^10 = 1024 possible keys).
    33         </Run>
     15    <Paragraph FontSize="20pt">About this plugin</Paragraph>
     16    <Paragraph FontSize="18pt">General</Paragraph>
     17
     18    <Paragraph>
     19    This plugin enables the user to choose between electronic code book ECB and cipher block chaining CBC for en- and decryption of texts. SDES needs two CrypToolStreams for en-/decryption (one as input the other as output). It also needs a key of 10 bit length (here represented as text containing only '1' and '0'); for example '1110011010'. Finally an initialization vector IV of size 8bit is needed (also represented as text containing only '1' and '0'); for example '10010010'. The plugin will not work if the key length or IV length is wrong (visible by an error message). The key and IV have to be byte arrays.
    3420    </Paragraph>
    35     <Paragraph TextAlignment="Justify">
    36     <Run>
    37             This plugin enables the user to choose between electronic code book
    38             ECB and cipher block chaining CBC for en- and decryption of texts. This
    39             plugin needs a text stream for en-/decryption. It also needs a key of 10 bit
    40             length (here represented as text containing only '1' and '0'); for example
    41             '1110011010'. Finally an Initialization Vector IV of size 8bit is needed
    42             (also represented as text containing only '1' and '0'); for example
    43             '10010010'. The plugin will not work if the key length or IV length is
    44             wrong (visible by an error message).
    45         </Run>
     21    <Paragraph FontSize="18pt">Visualization</Paragraph>
     22
     23    <Paragraph>
     24    By double-clicking on the SDES plugins icon in the CrypTool window, the user can enable the visualization of the SDES algorithm. In this view, he/she is able to watch the flow of the bits through the whole algorithm. The flow of each bit is represented by small lines (like wires) which goes from the input through the algorithm to the final output. Each step is shown by a text box which contains the actual word produced by a sub function of the SDES algorithm. Each name of a sub function can be seen at the right or left site of a text box. On the right site of the visualization the user can see the encryption stream, in the middle the user can see the sub-key generation and on the right site the user can see the decryption. The directions here are: encryption from top to bottom, subkey generation from top to bottom and decryption from bottom to top.
    4625    </Paragraph>
    47     <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    48         <Span FontFamily="Georgia" FontWeight="Bold" FontSize="17" Foreground="#FF15428B" xml:lang="en-us">
    49             <Span.TextDecorations>
    50                 <TextDecoration Location="Underline" />
    51             </Span.TextDecorations>
    52             Block diagram
    53         </Span>
    54     </Paragraph>
    55     <Paragraph TextAlignment="Justify">
    56         <Run>
    57             The following diagram shows a block diagram as overview of the SDES algorithm:
    58         </Run>       
    59     </Paragraph>
    60     <Paragraph TextAlignment="Justify">
    61         <Image Source="/SDES;component/Images/sdes_overview.png"/>
    62     </Paragraph>
    63    
    64     <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    65         <Span FontFamily="Georgia" FontWeight="Bold" FontSize="17" Foreground="#FF15428B" xml:lang="en-us">
    66             <Span.TextDecorations>
    67                 <TextDecoration Location="Underline" />
    68             </Span.TextDecorations>
    69             IP
    70         </Span>
    71     </Paragraph>
    72     <Paragraph TextAlignment="Justify">
    73         The IP function permutates 8 bits as follows:
    74     </Paragraph>
    75     <Table BorderBrush="Black" BorderThickness="1">
    76         <TableRowGroup>
    77             <TableRow>
    78                 <TableCell BorderBrush="Black" BorderThickness="1">
    79                     <Paragraph>source bit</Paragraph>
    80                 </TableCell>
    81                 <TableCell BorderBrush="Black" BorderThickness="1">
    82                     <Paragraph>destination bit</Paragraph>
    83                 </TableCell>
    84             </TableRow>
    85             <TableRow>
    86                 <TableCell>
    87                     <Paragraph>1</Paragraph>
    88                 </TableCell>
    89                 <TableCell>
    90                     <Paragraph>2</Paragraph>
    91                 </TableCell>
    92             </TableRow>
    93             <TableRow>
    94                 <TableCell>
    95                     <Paragraph>2</Paragraph>
    96                 </TableCell>
    97                 <TableCell>
    98                     <Paragraph>6</Paragraph>
    99                 </TableCell>
    100             </TableRow>
    101             <TableRow>
    102                 <TableCell>
    103                     <Paragraph>3</Paragraph>
    104                 </TableCell>
    105                 <TableCell>
    106                     <Paragraph>3</Paragraph>
    107                 </TableCell>
    108             </TableRow>
    109             <TableRow>
    110                 <TableCell>
    111                     <Paragraph>4</Paragraph>
    112                 </TableCell>
    113                 <TableCell>
    114                     <Paragraph>1</Paragraph>
    115                 </TableCell>
    116             </TableRow>
    117             <TableRow>
    118                 <TableCell>
    119                     <Paragraph>5</Paragraph>
    120                 </TableCell>
    121                 <TableCell>
    122                     <Paragraph>4</Paragraph>
    123                 </TableCell>
    124             </TableRow>
    125             <TableRow>
    126                 <TableCell>
    127                     <Paragraph>6</Paragraph>
    128                 </TableCell>
    129                 <TableCell>
    130                     <Paragraph>8</Paragraph>
    131                 </TableCell>
    132             </TableRow>
    133             <TableRow>
    134                 <TableCell>
    135                     <Paragraph>7</Paragraph>
    136                 </TableCell>
    137                 <TableCell>
    138                     <Paragraph>5</Paragraph>
    139                 </TableCell>
    140             </TableRow>
    141             <TableRow>
    142                 <TableCell>
    143                     <Paragraph>8</Paragraph>
    144                 </TableCell>
    145                 <TableCell>
    146                     <Paragraph>7</Paragraph>
    147                 </TableCell>
    148             </TableRow>
    149         </TableRowGroup>
    150     </Table>
    151    
    152     <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Times New Roman" FontSize="16">
    153         <Span FontFamily="Georgia" FontWeight="Bold" FontSize="17" Foreground="#FF15428B" xml:lang="en-us">
    154             <Span.TextDecorations>
    155                 <TextDecoration Location="Underline" />
    156             </Span.TextDecorations>
    157             IP inverse
    158         </Span>
    159     </Paragraph>
    160     <Paragraph TextAlignment="Justify">
    161         The IP function permutates 8 bits as follows:
    162     </Paragraph>
    163     <Table BorderBrush="Black" BorderThickness="1">
    164         <TableRowGroup>
    165             <TableRow>
    166                 <TableCell BorderBrush="Black" BorderThickness="1">
    167                     <Paragraph>source bit</Paragraph>
    168                 </TableCell>
    169                 <TableCell BorderBrush="Black" BorderThickness="1">
    170                     <Paragraph>destination bit</Paragraph>
    171                 </TableCell>
    172             </TableRow>
    173             <TableRow>
    174                 <TableCell>
    175                     <Paragraph>1</Paragraph>
    176                 </TableCell>
    177                 <TableCell>
    178                     <Paragraph>4</Paragraph>
    179                 </TableCell>
    180             </TableRow>
    181             <TableRow>
    182                 <TableCell>
    183                     <Paragraph>2</Paragraph>
    184                 </TableCell>
    185                 <TableCell>
    186                     <Paragraph>1</Paragraph>
    187                 </TableCell>
    188             </TableRow>
    189             <TableRow>
    190                 <TableCell>
    191                     <Paragraph>3</Paragraph>
    192                 </TableCell>
    193                 <TableCell>
    194                     <Paragraph>3</Paragraph>
    195                 </TableCell>
    196             </TableRow>
    197             <TableRow>
    198                 <TableCell>
    199                     <Paragraph>4</Paragraph>
    200                 </TableCell>
    201                 <TableCell>
    202                     <Paragraph>5</Paragraph>
    203                 </TableCell>
    204             </TableRow>
    205             <TableRow>
    206                 <TableCell>
    207                     <Paragraph>5</Paragraph>
    208                 </TableCell>
    209                 <TableCell>
    210                     <Paragraph>7</Paragraph>
    211                 </TableCell>
    212             </TableRow>
    213             <TableRow>
    214                 <TableCell>
    215                     <Paragraph>6</Paragraph>
    216                 </TableCell>
    217                 <TableCell>
    218                     <Paragraph>2</Paragraph>
    219                 </TableCell>
    220             </TableRow>
    221             <TableRow>
    222                 <TableCell>
    223                     <Paragraph>7</Paragraph>
    224                 </TableCell>
    225                 <TableCell>
    226                     <Paragraph>8</Paragraph>
    227                 </TableCell>
    228             </TableRow>
    229             <TableRow>
    230                 <TableCell>
    231                     <Paragraph>8</Paragraph>
    232                 </TableCell>
    233                 <TableCell>
    234                     <Paragraph>6</Paragraph>
    235                 </TableCell>
    236             </TableRow>
    237         </TableRowGroup>
    238     </Table>
     26
    23927</FlowDocument>
Note: See TracChangeset for help on using the changeset viewer.