net6: warning SYSLIB0021
This commit is contained in:
parent
0f833ae1de
commit
6988c4f997
@ -65,7 +65,7 @@ namespace System
|
||||
{
|
||||
var bytes = Encoding.Unicode.GetBytes(str);
|
||||
|
||||
using var CSP = new MD5CryptoServiceProvider();
|
||||
using var CSP = MD5.Create();
|
||||
|
||||
var byteHash = CSP.ComputeHash(bytes);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user