17 lines
309 B
C#
17 lines
309 B
C#
namespace Org.BouncyCastle.Crypto;
|
|
|
|
public interface IBlockCipher
|
|
{
|
|
string AlgorithmName { get; }
|
|
|
|
bool IsPartialBlockOkay { get; }
|
|
|
|
void Init(bool forEncryption, ICipherParameters parameters);
|
|
|
|
int GetBlockSize();
|
|
|
|
int ProcessBlock(byte[] inBuf, int inOff, byte[] outBuf, int outOff);
|
|
|
|
void Reset();
|
|
}
|