Search code examples
c#.netcryptographymd5invalidoperationexception

Is there an alternate hashing algorithm to MD5 for FIPS-enabled systems?


Whenever I try to use MD5 on a Windows XP machine that has FIPS enabled, I am getting a System.InvalidOperationException.

Is there an alternate algorithm that I should use instead of MD5 on FIPS?


Solution

  • MD5 is not FIPS compliant. You can use instead of the MD5 one of the following hashing algorithms: