Skip to content
Permalink
Browse files
Merge pull request #16 from tadgerb/patch-1
Fix FIPS compliance in CouchIniAction.cs
  • Loading branch information
big-r81 committed May 27, 2022
2 parents 6b05451 + 6018889 commit 31814ba395618144241783085187f2f06992efbb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -187,7 +187,7 @@ private static string GetChecksum(string file)
{
using (FileStream stream = File.OpenRead(file))
{
SHA256Managed sha = new SHA256Managed();
SHA256CryptoServiceProvider sha = new SHA256CryptoServiceProvider();
byte[] checksum = sha.ComputeHash(stream);
return BitConverter.ToString(checksum).Replace("-", String.Empty);
}

0 comments on commit 31814ba

Please sign in to comment.