I am using the new version of ASP.NET MVC 6 (ASP.NET 5). If I target .NET CoreCLR framework (ASP.NET Core) the code doesn't compile because I am using MD5CryptoServiceProvider
from System.Security.Cryptography
. Can you suggest any alternatives that compile with the CoreCLR framework?
Use MD5.Create()
from the package .
System.Security.Cryptography.Hashing.Algorithms
System.Security.Cryptography.Algorithms
.
Update
System.Security.Cryptography.Hashing.Algorithms
is marked obsolete at the moment.
Update to Victor Hurdugaci's answer: use package System.Security.Cryptography.Algorithms
.
System.Security.Cryptography.Hashing.Algorithms
is marked obsolete at the moment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With