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

IDigestFactory

public interface IDigestFactory
Base interface for operator factories that create stream-based digest calculators.
object AlgorithmDetails { get; }

The algorithm details object for calculators made by this factory.

int DigestLength { get; }

Return the size of the digest associated with this factory.

Create a stream calculator for the digest associated with this factory. The stream calculator is used for the actual operation of entering the data to be digested and producing the digest block.