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/NativeCryptography/NativeCryptography.h

    r1201 r1208  
    22#include "aes_core.h"
    33#include "DES/des.h"
    4 #include <stdlib.h>
    54
    65using namespace System::Threading;
     
    2423                static array<unsigned char>^ decryptAESorDES(array<unsigned char>^ Input, array<unsigned char>^ Key, array<unsigned char>^ IV, const int bits, const int length, const int mode, const int blockSize, const cryptMethod method);
    2524
     25                static Mutex^ prepareMutex = gcnew Mutex();
     26               
     27
    2628        public:
     29                static double calculateEntropy(array<unsigned char>^ text, int bytesToUse);
     30
    2731                static array<unsigned char>^ decryptAES(array<unsigned char>^ Input, array<unsigned char>^ Key, array<unsigned char>^ IV, const int bits, const int length, const int mode)
    2832                {
Note: See TracChangeset for help on using the changeset viewer.