6 references to HashData
aspire (1)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (1)
294
actualHash = Convert.ToHexString(SHA512.
HashData
(bytes)).ToLowerInvariant();
Aspire.Cli.Tests (4)
Agents\AspireSkillsInstallerTests.cs (1)
2174
return Convert.ToHexString(SHA512.
HashData
(bytes)).ToLowerInvariant();
Agents\PlaywrightCliInstallerTests.cs (2)
243
var expectedIntegrity = $"sha512-{Convert.ToBase64String(SHA512.
HashData
(content))}";
382
var hash = SHA512.
HashData
(content);
Agents\TelemetryHookInstallerTests.cs (1)
75
var installedHash = Convert.ToHexStringLower(SHA512.
HashData
(Encoding.UTF8.GetBytes(installedContent)));
System.Private.Xml (1)
System\Xml\Serialization\Compiler.cs (1)
95
byte[] hash = SHA512.
HashData
(valueBytes);