From 2e15b2c922b2055633454abe3a452d38bbda5145 Mon Sep 17 00:00:00 2001 From: John Erickson Date: Thu, 31 Jul 2025 09:39:56 -0700 Subject: [PATCH] codeql supression of MD5 --- src/Common/NodeContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/NodeContext.cs b/src/Common/NodeContext.cs index 81aa415..f41c0e0 100644 --- a/src/Common/NodeContext.cs +++ b/src/Common/NodeContext.cs @@ -106,7 +106,7 @@ private static string GenerateId(string projectFileRelativePath, IReadOnlyDictio } #pragma warning disable CA5351 // Do Not Use Broken Cryptographic Algorithms. This is not used for crypto. - using MD5 hasher = MD5.Create(); + using MD5 hasher = MD5.Create(); // CodeQL [SM02196] This is not used for crypto, but for just generating a small nickname. #pragma warning restore CA5351 // Do Not Use Broken Cryptographic Algorithms foreach (KeyValuePair kvp in sortedProperties)