Alternatives of MD5CryptoServiceProvider in CoreCLR (ASP.NET 5 Core)
.net-core, asp.net-core
Solution
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.
Problem
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?