Exception about bcrypt.dll when instantiating a MD5CryptoServiceProvider

0

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?

encryption
.net-4.0
md5
asked on Stack Overflow Aug 6, 2012 by Dabblernl

1 Answer

0

The customer's computer crashed soon afterwards and had to be repaired. Windows was reinstalled. The problem was gone.

answered on Stack Overflow Oct 25, 2012 by Dabblernl

User contributions licensed under CC BY-SA 3.0