warning fixes

This commit is contained in:
Brett Hewitson 2022-12-23 18:31:21 +10:00
parent eb66b63ed4
commit 89f60420cd
6 changed files with 15 additions and 0 deletions

View file

@ -20,6 +20,7 @@ namespace ServerManagerTool.Common.Utils
private static int callCount = 0;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "SCS0005:Weak random number generator.", Justification = "<Pending>")]
public static string GeneratePassword(int count)
{
StringBuilder newPassword = new StringBuilder(count);

View file

@ -46,6 +46,7 @@ namespace ServerManagerTool.Common.Utils
set;
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "SCS0006:Weak hashing function.", Justification = "<Pending>")]
public static string ComputeKey(string folder)
{
try