15 lines
256 B
C#
15 lines
256 B
C#
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);
|
|
}
|