We use a MD5 hashing algorithm in our app. One of our users gets the following exception on the line
Dim hasher=new MD5CryptoServiceProvider
The Exception states (in dutch)
Exception: System.DllNotFoundException; Source Kan DLL bcrypt.dll niet laden: Ongeldige toegang tot geheugenlocatie. (Uitzondering van HRESULT: 0x800703E6); Message: bij Microsoft.Win32.Win32Native.BCryptGetFipsAlgorithmMode(Boolean& pfEnabled) bij System.Security.Cryptography.CryptoConfig.get_AllowOnlyFipsAlgorithms() bij System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
Which means that the brcrypt.dll cannot be loaded because of an invalid access to the memory location.
The brcrypt.dll is present in the user's Sytem32 folder.
What is happening here?
The customer's computer crashed soon afterwards and had to be repaired. Windows was reinstalled. The problem was gone.
User contributions licensed under CC BY-SA 3.0