Ignore:
Timestamp:
Feb 26, 2010, 7:12:21 PM (12 years ago)
Author:
Sven Rech
Message:

little bit faster entropy implementation

File:
1 edited

Legend:

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

    r1204 r1208  
    404404        public double calculateEntropy(byte[] text, int bytesToUse)
    405405        {
     406            return NativeCryptography.Crypto.calculateEntropy(text, bytesToUse);
    406407            if (bytesToUse > text.Length)
    407408                bytesToUse = text.Length;
Note: See TracChangeset for help on using the changeset viewer.