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

IBlockResult

public interface IBlockResult
Operators that reduce their input to a single block return an object of this type.
namespace Org.BouncyCastle.Crypto { public interface IBlockResult { byte[] Collect(); int Collect(byte[] buf, int off); int GetMaxResultLength(); } }