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

IXof

public interface IXof : IDigest
namespace Org.BouncyCastle.Crypto { public interface IXof : IDigest { int OutputFinal(byte[] output, int outOff, int outLen); int Output(byte[] output, int outOff, int outLen); } }