1 write to _sha
Microsoft.TestPlatform.AdapterUtilities (1)
TestIdProvider.cs (1)
29
_sha
= SHA1.Create(); // CodeQL [SM02196] SHA1 is used only to derive a non-security test identifier, never for integrity or authentication. It is being phased out: the xxHash128 provider (TestIdProviderXxHash128) is available behind an opt-in flag, will become the default, and SHA1 will then be removed.
4 references to _sha
Microsoft.TestPlatform.AdapterUtilities (4)
TestIdProvider.cs (4)
48
_sha
.TransformBlock(bytes, 0, bytes.Length, null, 0);
70
_sha
.TransformBlock(bytes, 0, bytes.Length, null, 0);
89
_sha
.TransformFinalBlock(Array.Empty<byte>(), 0, 0);
90
_hash =
_sha
.Hash;