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

CbcBlockCipherMac

public class CbcBlockCipherMac : IMac
public string AlgorithmName { get; }

public CbcBlockCipherMac(IBlockCipher cipher, int macSizeInBits)

public CbcBlockCipherMac(IBlockCipher cipher, int macSizeInBits, IBlockCipherPadding padding)

public void BlockUpdate(byte[] input, int inOff, int len)

public int DoFinal(byte[] output, int outOff)

public int GetMacSize()

public void Init(ICipherParameters parameters)

public void Reset()

public void Update(byte input)