7 references to HashAlgorithmType
MonoTargetsTasks (7)
EmitBundleTask\EmitBundleBase.cs (1)
122string resourceDataSymbol = $"bundled_resource_{ToSafeSymbolName(TruncateEncodedHash(Utils.ComputeHashEx(resourcePath, Utils.HashAlgorithmType.SHA256, Utils.HashEncodingType.Base64Safe), MaxEncodedHashLength))}";
src\tasks\Common\Utils.cs (6)
253private static byte[] ComputeHashFromStream(Stream stream, HashAlgorithmType algorithm) 255if (algorithm == HashAlgorithmType.SHA512) 260else if (algorithm == HashAlgorithmType.SHA384) 265else if (algorithm == HashAlgorithmType.SHA256) 297public static string ComputeHashEx(string filepath, HashAlgorithmType algorithm = HashAlgorithmType.SHA512, HashEncodingType encoding = HashEncodingType.Base64)