Class CtsBlockCipher
- Namespace
- Org.BouncyCastle.Crypto.Modes
- Assembly
- BouncyCastle.Cryptography.dll
public class CtsBlockCipher : BufferedBlockCipher, IBufferedCipher
- Inheritance
-
CtsBlockCipher
- Implements
- Inherited Members
Constructors
CtsBlockCipher(IBlockCipher)
public CtsBlockCipher(IBlockCipher cipher)
Parameters
cipherIBlockCipher
CtsBlockCipher(IBlockCipherMode)
public CtsBlockCipher(IBlockCipherMode cipherMode)
Parameters
cipherModeIBlockCipherMode
Methods
DoFinal(byte[], int)
public override int DoFinal(byte[] output, int outOff)
Parameters
Returns
DoFinal(Span<byte>)
public override int DoFinal(Span<byte> output)
Parameters
Returns
GetBlockSize()
return the blocksize for the underlying cipher.
@return the blocksize for the underlying cipher.
public override int GetBlockSize()
Returns
GetOutputSize(int)
public override int GetOutputSize(int length)
Parameters
lengthint
Returns
GetUpdateOutputSize(int)
public override int GetUpdateOutputSize(int length)
Parameters
lengthint
Returns
ProcessByte(byte, byte[], int)
public override int ProcessByte(byte input, byte[] output, int outOff)
Parameters
Returns
ProcessByte(byte, Span<byte>)
public override int ProcessByte(byte input, Span<byte> output)
Parameters
Returns
ProcessBytes(byte[], int, int, byte[], int)
public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)
Parameters
Returns
ProcessBytes(ReadOnlySpan<byte>, Span<byte>)
public override int ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output)
Parameters
inputReadOnlySpan<byte>outputSpan<byte>