<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.1" />

IStreamCalculator<TResult>

public interface IStreamCalculator<TResult>
Base interface for cryptographic operations such as Hashes, MACs, and Signatures which reduce a stream of data to a single value.
namespace Org.BouncyCastle.Crypto { public interface IDigestFactory { object AlgorithmDetails { get; } int DigestLength { get; } IStreamCalculator<IBlockResult> CreateCalculator(); } }