diff --git a/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.h b/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.h index f0acb8f..10a11c6 100644 --- a/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.h +++ b/dotnet/WhiteRabbit.UnmanagedBridge/WhiteRabbit.UnmanagedBridge.h @@ -9,6 +9,7 @@ namespace WhiteRabbitUnmanagedBridge { public ref class MD5Unmanaged { public: + literal int PhrasesPerSet = 16; static void ComputeMD5(unsigned int* input, unsigned int* output); }; } diff --git a/dotnet/WhiteRabbit/Constants.cs b/dotnet/WhiteRabbit/Constants.cs index 1894148..13a4d21 100644 --- a/dotnet/WhiteRabbit/Constants.cs +++ b/dotnet/WhiteRabbit/Constants.cs @@ -2,6 +2,6 @@ { internal class Constants { - public const int PhrasesPerSet = 16; + public const int PhrasesPerSet = WhiteRabbitUnmanagedBridge.MD5Unmanaged.PhrasesPerSet; } }