目前我在我的UWP应用程序中这样做
byte[] bytes = new UTF8Encoding().GetBytes(Password);
byte[] hash = ((HashAlgorithm)CryptoConfig.CreateFromName("MD5")).ComputeHash(bytes);
string hashstring = BitConverter.ToString(hash);
Run Code Online (Sandbox Code Playgroud)
我搜索了很多,但在.NETCore中找不到CryptoConfig类的替代品.