Ignore:
Timestamp:
Aug 19, 2010, 9:48:18 PM (11 years ago)
Author:
Arno Wacker
Message:

Enigma:

  • Small bugfix: Now after processing the message the index of coincidences (as written in the log-text) is now logged in the log (and not the bi-gram statistic - which also lead to an error, since the bi-gram files have been constantly overwritten by the cost function)

CostFunction:

  • Removed obvious crap from the "Enigma_2gram_Frequency.txt" and replaced it with real bi-gram-statistic values
  • @developer: Why are the datafiles in the CostFunction called Enigma_* - this leads to conflict, since in the output directory these files get overwritten. (conflicting with Enigma..) Please check the contents and also please rename to something specific for the CostFunction.
File:
1 edited

Legend:

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

    r975 r1843  
    398398
    399399                    // FIXME: output all scorings
    400                     LogMessage("Enigma encryption done. The resulting index of coincidences is " + analyzer.calculateScore(outputString, 1), NotificationLevel.Info);
     400                    LogMessage("Enigma encryption done. The resulting index of coincidences is " + analyzer.calculateScore(outputString, 0), NotificationLevel.Info);
    401401
    402402                    // "fire" the output
Note: See TracChangeset for help on using the changeset viewer.