Cleanup some warnings.

This commit is contained in:
hondacrx
2021-11-15 16:11:20 -05:00
parent e0f344af25
commit 032f9a55f3
70 changed files with 233 additions and 234 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ namespace Framework.Cryptography
{
public Sha256()
{
sha = new SHA256Managed();
sha = SHA256.Create();
sha.Initialize();
}
@@ -69,7 +69,7 @@ namespace Framework.Cryptography
public class HmacHash : HMACSHA1
{
public HmacHash(byte[] key) : base(key, true)
public HmacHash(byte[] key) : base(key)
{
Initialize();
}