IBlockCipherPadding
Block cipher padders are expected to conform to this interface.
using Org.BouncyCastle.Security;
namespace Org.BouncyCastle.Crypto.Paddings
{
public interface IBlockCipherPadding
{
string PaddingName { get; }
void Init(SecureRandom random);
int AddPadding(byte[] input, int inOff);
int PadCount(byte[] input);
}
}