6 references to HashAlgorithmType
WorkloadBuildTasks (6)
src\tasks\Common\Utils.cs (6)
253
private static byte[] ComputeHashFromStream(Stream stream,
HashAlgorithmType
algorithm)
255
if (algorithm ==
HashAlgorithmType
.SHA512)
260
else if (algorithm ==
HashAlgorithmType
.SHA384)
265
else if (algorithm ==
HashAlgorithmType
.SHA256)
297
public static string ComputeHashEx(string filepath,
HashAlgorithmType
algorithm =
HashAlgorithmType
.SHA512, HashEncodingType encoding = HashEncodingType.Base64)