Class PaddedBufferedBlockCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Paddings
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class PaddedBufferedBlockCipher : BufferedBlockCipher, IBufferedCipher
- Inheritance
-
PaddedBufferedBlockCipher
- Implements
-
- Inherited Members
-
Constructors
PaddedBufferedBlockCipher(IBlockCipher)
public PaddedBufferedBlockCipher(IBlockCipher cipher)
Parameters
cipher
IBlockCipher
PaddedBufferedBlockCipher(IBlockCipher, IBlockCipherPadding)
public PaddedBufferedBlockCipher(IBlockCipher cipher, IBlockCipherPadding padding)
Parameters
cipher
IBlockCipher
padding
IBlockCipherPadding
Methods
DoFinal(byte[], int)
public override int DoFinal(byte[] output, int outOff)
Parameters
output
byte[]
outOff
int
Returns
- int
GetOutputSize(int)
public override int GetOutputSize(int length)
Parameters
length
int
Returns
- int
GetUpdateOutputSize(int)
public override int GetUpdateOutputSize(int length)
Parameters
length
int
Returns
- int
Init(bool, ICipherParameters)
public override void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryption
bool
parameters
ICipherParameters
ProcessByte(byte, byte[], int)
public override int ProcessByte(byte input, byte[] output, int outOff)
Parameters
input
byte
output
byte[]
outOff
int
Returns
- int
ProcessBytes(byte[], int, int, byte[], int)
public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)
Parameters
input
byte[]
inOff
int
length
int
output
byte[]
outOff
int
Returns
- int