Local Passwords validation

This commit is contained in:
Paul Schneider 2024-11-06 13:00:34 +00:00
commit 8132db37d0
163 changed files with 1812 additions and 4772 deletions

View file

@ -6,7 +6,7 @@ public class Helper
{
public static string GetHash(string input)
{
HashAlgorithm hashAlgorithm = new SHA256CryptoServiceProvider();
HashAlgorithm hashAlgorithm = SHA256CryptoServiceProvider.Create();
byte[] byteValue = System.Text.Encoding.UTF8.GetBytes(input);
@ -15,4 +15,4 @@ public class Helper
return Convert.ToBase64String(byteHash);
}
}
}
}