Skip to content

Commit fe2f389

Browse files
authored
[release/10.0.1xx-preview1] Fix array length Fixes #45632 (#46654)
2 parents 1e6a78d + f611387 commit fe2f389

File tree

1 file changed

+1
-1
lines changed
  • src/Cli/Microsoft.DotNet.Cli.Utils

1 file changed

+1
-1
lines changed

src/Cli/Microsoft.DotNet.Cli.Utils/Uuid.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static Guid Create(string name)
2727
Array.Copy(namespaceBytes, streamToHash, namespaceBytes.Length);
2828
Array.Copy(nameBytes, 0, streamToHash, namespaceBytes.Length, nameBytes.Length);
2929

30-
var hashResult = XxHash3.Hash(streamToHash); // This is just used for generating a named pipe so we don't need a cryptographic hash
30+
var hashResult = XxHash128.Hash(streamToHash); // This is just used for generating a named pipe so we don't need a cryptographic hash
3131

3232
var res = new byte[16];
3333

0 commit comments

Comments
 (0)