<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-rc.1.26425.128" />

System.Security.Cryptography.IncrementalHash

sealed class IncrementalHash : IDisposable
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); } }