System.Security.Cryptography.IncrementalHash
namespace System.Security.Cryptography
{
public sealed class IncrementalHash : IDisposable
{
public HashAlgorithmName AlgorithmName { get; }
public void AppendData(byte[] data);
public void AppendData(byte[] data, int offset, int count);
public static IncrementalHash CreateHash(HashAlgorithmName hashAlgorithm);
public static IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, byte[] key);
public void Dispose();
public byte[] GetHashAndReset();
}
}