From bfff4e8a21485c8ab36b09ab8535a7521ba2ed6a Mon Sep 17 00:00:00 2001 From: Benjamin Galindo-Navarro Date: Thu, 13 Mar 2025 08:08:35 -0700 Subject: [PATCH] Mark CodeQL exception --- Utilities/Common.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Common.cs b/Utilities/Common.cs index e500730..0212ca1 100644 --- a/Utilities/Common.cs +++ b/Utilities/Common.cs @@ -39,7 +39,7 @@ public static Guid GenerateGuidFromName(string name) } // Compute the Sha1 hash - var sha1 = SHA1.Create(); + var sha1 = SHA1.Create(); // CodeQL [SM02196] False positive: this hash is not used for any sort of crytopgraphy byte[] hash = sha1.ComputeHash(bytes); // Create a GUID out of the first 16 bytes of the hash (SHA-1 create a 20 byte hash)