Ignore:
Timestamp:
Dec 4, 2009, 11:06:27 PM (12 years ago)
Author:
Sven Rech
Message:

some big keypattern changes that are needed for christians work.

File:
1 edited

Legend:

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

    r951 r952  
    1212using System.Windows.Threading;
    1313using Cryptool.PluginBase.Miscellaneous;
     14using System.IO;
    1415
    1516namespace KeySearcher
     
    4142            {
    4243                pattern = value;
    43                 if ((settings.Key == null) || ((settings.Key != null) && !pattern.testKey(settings.Key)))
    44                     settings.Key = pattern.giveWildcardKey();
     44                if ((settings.Key == null) || ((settings.Key != null) && !pattern.testWildcardKey(settings.Key)))
     45                    settings.Key = pattern.giveInputPattern();
    4546            }
    4647        }
     
    403404
    404405            stop = false;
    405             if (!pattern.testKey(settings.Key))
     406            if (!pattern.testWildcardKey(settings.Key))
    406407            {
    407408                GuiLogMessage("Wrong key pattern!", NotificationLevel.Error);
     
    421422            }
    422423
    423             BigInteger size = pattern.initKeyIteration(settings.Key);
     424            BigInteger size = pattern.setWildcardKey(settings.Key);           
    424425            KeyPattern[] patterns = splitPatternForThreads(pattern);
    425426
Note: See TracChangeset for help on using the changeset viewer.