6 references to HashEncodingType
MonoTargetsTasks (6)
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 (5)
276private static string EncodeHash(byte[] data, HashEncodingType encoding) 278if (encoding == HashEncodingType.Base64) 282else if (encoding == HashEncodingType.Base64Safe) 297public static string ComputeHashEx(string filepath, HashAlgorithmType algorithm = HashAlgorithmType.SHA512, HashEncodingType encoding = HashEncodingType.Base64)