Ignore:
Timestamp:
Sep 23, 2009, 4:28:57 PM (12 years ago)
Author:
Matthäus Wander
Message:

CrypPluginBase:

  • fixed bug in Tokenizer which had impact on EnigmaAnalyzer

EnigmaAnalyzer:

  • reverted buggy print-loop (lead to exception when there were less entries than expected)
  • updated file format to current settings file

FrequencyTest:

  • enlarged lock-block (otherwise an exception in ElementAt(...) occured sometimes in EnigmaAnalyzer samples)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Enigma/EnigmaAnalyzer.cs

    r557 r566  
    5858        private List<analysisConfigSettings> analysisCandidates = new List<analysisConfigSettings>();
    5959        private const int maxAnalysisEntries = 10; // should go in settings under "Analysis Options"
    60         private const int maxPrintedCandidates = 10; // should go in settings under "Analysis Options"
    6160
    6261        #endregion
     
    686685            message.AppendLine("=====================================");
    687686
    688             for (int i = 0; i < maxPrintedCandidates; i++)
    689             {
    690                 analysisConfigSettings cfg = analysisCandidates[maxAnalysisEntries - i - 1];
     687            foreach (analysisConfigSettings cfg in analysisCandidates)
     688            {
    691689                message.AppendFormat("{0} | {1},{2},{3} | {4},{5},{6} | {7} | {8}" + Environment.NewLine,
    692690                    cfg.Score.ToString(),
Note: See TracChangeset for help on using the changeset viewer.