System.Security.Cryptography.IncrementalHash
Provides support for computing a hash or HMAC value incrementally across several segments.
namespace System.Security.Cryptography
{
internal sealed class IncrementalHash : IDisposable
{
public HashAlgorithmName AlgorithmName { get; }
public void AppendData(byte[] data);
public void AppendData(byte[] data, int offset, int count);
public byte[] GetHashAndReset();
public void Dispose();
public static System.Security.Cryptography.IncrementalHash CreateHash(HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.IncrementalHash CreateHMAC(HashAlgorithmName hashAlgorithm, byte[] key);
}
}