We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fc5447 + bfff4e8 commit ae19293Copy full SHA for ae19293
Utilities/Common.cs
@@ -39,7 +39,7 @@ public static Guid GenerateGuidFromName(string name)
39
}
40
41
// Compute the Sha1 hash
42
- var sha1 = SHA1.Create();
+ var sha1 = SHA1.Create(); // CodeQL [SM02196] False positive: this hash is not used for any sort of crytopgraphy
43
byte[] hash = sha1.ComputeHash(bytes);
44
45
// Create a GUID out of the first 16 bytes of the hash (SHA-1 create a 20 byte hash)
0 commit comments