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