Skip to content

Commit bfff4e8

Browse files
committed
Mark CodeQL exception
1 parent 9fc5447 commit bfff4e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/Common.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static Guid GenerateGuidFromName(string name)
3939
}
4040

4141
// Compute the Sha1 hash
42-
var sha1 = SHA1.Create();
42+
var sha1 = SHA1.Create(); // CodeQL [SM02196] False positive: this hash is not used for any sort of crytopgraphy
4343
byte[] hash = sha1.ComputeHash(bytes);
4444

4545
// Create a GUID out of the first 16 bytes of the hash (SHA-1 create a 20 byte hash)

0 commit comments

Comments
 (0)