3 references to GetHash
Microsoft.DotNet.SignCheckLibrary (3)
Verification\ArchiveVerifier.cs (3)
155
string hashedPath = String.IsNullOrEmpty(directoryName) ? Utils.
GetHash
(@".\", HashAlgorithmName.SHA256.Name) :
156
Utils.
GetHash
(directoryName, HashAlgorithmName.SHA256.Name);
161
Utils.
GetHash
(archiveEntry.RelativePath, HashAlgorithmName.SHA256.Name) + Path.GetExtension(archiveEntry.RelativePath); // lgtm [cs/zipslip] Archive from trusted source