关于调用HashPasswordForStoringInConfigFile方法 报错的问题
Rt 执行这句代码时报错
错误信息如下:
错误描述:System.InvalidOperationException: 此实现不是 Windows 平台 FIPS 验证的加密算法的一部分。
在 System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
在 Common.PwdMd5Helper.Md5Pwd(String pwd) 位置 f:\demo\OA3\Solution1\Common\PwdMd5Helper.cs:行号 15
在 WebUI_MVCOA.Controllers.HomeController.CheckLogin() 位置 f:\demo\OA3\Solution1\WebUI-MVCOA\Controllers\HomeController.cs:行号 48
在 lambda_method(Closure , ControllerBase , Object[] )
在 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
在 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)