Changeset 221


Ignore:
Timestamp:
Feb 10, 2009, 3:20:09 PM (13 years ago)
Author:
angelov
Message:

quick view presentation added

Location:
trunk/CrypPlugins/KasiskiTest
Files:
1 added
4 edited

Legend:

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

    r219 r221  
    131131    </Paragraph>
    132132
     133   
     134
     135
     136
     137
     138
    133139    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
    134140    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
     
    136142factor is encountered. In this case it is not exactly obvious which one of three most frequent factors (2,3 and 6) is the actual
    137143key-length. With some practise would be easy to make predictions with high possibility for truth. Here six is the key length. Two and three have higher values because they are factors of six. Keep in mind that Bigger factors with relatively high frequency should have priority as a probable key length. Pay special attention to prime numbers. Using the Friedman test plug-in as a supplement to this method should make the decision for key length easier.   </Span>
    138    
    139    
    140    
     144     
     145    </Paragraph>
     146
     147    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
     148    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
     149        <Span xml:lang="de-de">The graph can be accessed also as quick watch presentation directly on the work feld by
     150clicking        the     expanding sign  under   the     plug-in icon.</Span>
    141151    </Paragraph>
    142152
    143153
    144    
    145 
     154    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
     155    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
     156        <InlineUIContainer>
     157            <Image Source="/KasiskiTest;Component/DetailedDescription/Images/Kasiski_Quick.jpg" />
     158        </InlineUIContainer>
     159    </Paragraph>
    146160
    147161
  • trunk/CrypPlugins/KasiskiTest/KasiskiTest.cs

    r217 r221  
    9999            presentation = new KasiskiTestPresentation(this);
    100100            Presentation = presentation;
     101            QuickWatchPresentation = presentation;
    101102        }
    102103       public UserControl Presentation { get; private set; }
    103104
    104105
    105        public UserControl QuickWatchPresentation
    106        {
    107            get { return null; }
    108        }
     106       public UserControl QuickWatchPresentation { get; private set; }
    109107
    110108        public void PreExecution()
  • trunk/CrypPlugins/KasiskiTest/KasiskiTest.csproj

    r219 r221  
    9696  <ItemGroup>
    9797    <Resource Include="DetailedDescription\Images\Kasiski_pres.jpg" />
     98    <Resource Include="DetailedDescription\Images\Kasiski_Quick.jpg" />
    9899    <Resource Include="DetailedDescription\Images\Kasiski_settings.jpg" />
    99100  </ItemGroup>
  • trunk/CrypPlugins/KasiskiTest/KasiskiTestPresentation.xaml

    r79 r221  
    6161    </UserControl.Resources>
    6262
     63    <StackPanel VerticalAlignment="Bottom" Orientation="Vertical" >
     64
     65        <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Auto">
     66
     67            <Grid VerticalAlignment="Bottom" >
     68
     69                <Grid.LayoutTransform>
     70
     71                    <ScaleTransform   ScaleX="{Binding ElementName=sli,Path=Value}" ScaleY="{Binding
     72                         ElementName=sli, Path=Value}"/>
     73                </Grid.LayoutTransform>
    6374
    6475
    65     <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto"  ScrollViewer.HorizontalScrollBarVisibility="Auto">
    66         <StackPanel>
    67             <TextBlock TextAlignment="Center" IsHyphenationEnabled="True" FontSize="18" Foreground="Black"  FontFamily="Academy" OpacityMask="Turquoise" Text="Frequency of factors composing the distances "
     76
     77                <StackPanel>
     78                    <TextBlock TextAlignment="Center" IsHyphenationEnabled="True" FontSize="18" Foreground="Black"  FontFamily="Academy" OpacityMask="Turquoise" Text="Frequency of factors composing the distances "
    6879                ToolTip="Tip:The keylength could be one of the most frequent factors or a multiple "  >
    6980               
    7081            </TextBlock>
    71            
    72             <TextBlock TextAlignment="Center" IsHyphenationEnabled="True" FontSize="18" Foreground="Black"  FontFamily="Academy" OpacityMask="Turquoise" Text="between identical strings in the cyphertext"
     82
     83                    <TextBlock TextAlignment="Center" IsHyphenationEnabled="True" FontSize="18" Foreground="Black"  FontFamily="Academy" OpacityMask="Turquoise" Text="between identical strings in the cyphertext"
    7384                 ToolTip="Tip:The keylength could be one of the most frequent factors or a multiple "      >
    7485               
     
    7687
    7788
    78             <ItemsControl  HorizontalAlignment="Center"
     89                    <ItemsControl  HorizontalAlignment="Center"
    7990             
    8091             ItemsSource="{Binding Source={StaticResource source},Path=ValueCollection}"
    8192             ItemTemplate="{StaticResource template}" ItemsPanel="{StaticResource panelTemplate}">
    8293
    83             </ItemsControl>
     94                    </ItemsControl>
    8495
    8596
    86         </StackPanel>
    87     </ScrollViewer>
     97                </StackPanel>
     98            </Grid>
     99        </ScrollViewer>
     100        <Slider x:Name="sli" Width="100" HorizontalAlignment="Center" Minimum="0.2" VerticalAlignment="Bottom"
     101                Maximum="2" Value="1"/>
     102
     103    </StackPanel>
    88104
    89105</UserControl>
Note: See TracChangeset for help on using the changeset viewer.