Changeset 289


Ignore:
Timestamp:
Apr 15, 2009, 8:59:29 PM (13 years ago)
Author:
Sören Rinne
Message:
  • updated GUIDs and keys of CLK, LFSR, XORBinary
Location:
trunk/CrypPlugins
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/CLK/CLK.cs

    r288 r289  
    1515namespace Cryptool.Plugins.CLK
    1616{
    17   [Author("Soeren Rinne", "soeren.rinne@cryptool.org", "Uni Bochum", "http://www.rub.de")]
     17    [Author("Soeren Rinne", "soeren.rinne@cryptool.de", "Ruhr-Universitaet Bochum, Chair for System Security", "http://www.trust.rub.de/")]
    1818  [PluginInfo(true, "CLK", "Simple clock for clock-based plugins.", null, "CLK/icon.png", "CLK/Images/true.png", "CLK/Images/false.png")]
    1919  public class CLK : IInput
     
    131131        aTimer.Elapsed += new ElapsedEventHandler(sendCLKSignal);
    132132
    133         // Set the Interval to 2 seconds (2000 milliseconds).
     133        // Set the Interval to 'timeout' seconds (in milliseconds).
    134134        aTimer.Interval = timeout;
    135135        aTimer.Enabled = true;
     
    148148        else
    149149        {
     150            // disable timer
    150151            aTimer.Enabled = false;
    151152            // globally remove timer event
     
    165166    public void Stop()
    166167    {
     168        // disable timer
    167169        aTimer.Enabled = false;
    168170        // globally remove timer event
     
    172174    public void Initialize()
    173175    {
    174       output = settings.SetClockToTrue;
    175       if (output) StatusChanged((int)CLKImage.True);
    176       else StatusChanged((int)CLKImage.False);
    177       settings.CLKTimeout = timeout;
     176        output = settings.SetClockToTrue;
     177        if (output) StatusChanged((int)CLKImage.True);
     178        else StatusChanged((int)CLKImage.False);
     179        settings.CLKTimeout = timeout;
    178180    }
    179181
  • trunk/CrypPlugins/LFSR/LFSR.cs

    r288 r289  
    2424namespace Cryptool.LFSR
    2525{
    26     [Author("Soeren Rinne", "soeren.rinne@cryptool.org", "Ruhr-Universitaet Bochum, Chair for Embedded Security (EmSec)", "http://www.crypto.ruhr-uni-bochum.de/")]
     26    [Author("Soeren Rinne", "soeren.rinne@cryptool.de", "Ruhr-Universitaet Bochum, Chair for System Security", "http://www.trust.rub.de/")]
    2727    [PluginInfo(false, "LFSR", "Linear Feedback Shift Register (simple version)", "LFSR/DetailedDescription/Description.xaml", "LFSR/Images/LFSR.png", "LFSR/Images/encrypt.png", "LFSR/Images/decrypt.png")]
    2828    [EncryptionType(EncryptionType.SymmetricBlock)]
     
    4444        #endregion
    4545
     46        #region public variables
     47
    4648        public bool stop = false;
    4749        public bool newSeed = true;
     
    5052        public Char outputbuffer = '0';
    5153
     54        #endregion
     55
     56        #region public interfaces
     57
    5258        public LFSR()
    5359        {
     
    199205            this.stop = false;
    200206        }
     207
     208        #endregion
     209
     210        #region private functions
    201211
    202212        private void checkForInputTapSequence()
     
    299309            return !keinHoch0oder1.IsMatch(strPoly) && objPolynomial.IsMatch(strPoly);
    300310        }
     311
     312        #endregion
    301313
    302314        public void Execute()
     
    580592        }
    581593
     594        #region events and stuff
     595
    582596        public void Initialize()
    583597        {
     
    628642        }
    629643
     644        #endregion
     645
    630646        #region INotifyPropertyChanged Members
    631647
     
    648664        #endregion
    649665    }
     666
     667    #region Image
    650668
    651669    enum LFSRImage
     
    655673        Decode
    656674    }
     675
     676    #endregion
    657677}
  • trunk/CrypPlugins/XORBinary/XORBinary.cs

    r288 r289  
    218218namespace Cryptool.XORBinary
    219219{
    220     [Author("Soeren Rinne", "soeren.rinne@cryptool.de", "Uni Bochum", "http://www.rub.de")]
     220    [Author("Soeren Rinne", "soeren.rinne@cryptool.de", "Ruhr-Universitaet Bochum, Chair for System Security", "http://www.trust.rub.de/")]
    221221    [PluginInfo(false, "XORBinary", "Simple Binary XOR", "XORBinary/DetailedDescription/Description.xaml", "XORBinary/Images/icon.png", "XORBinary/Images/icon.png", "XORBinary/Images/icon.png")]
    222222    public class XORBinary : IThroughput
Note: See TracChangeset for help on using the changeset viewer.