Class CfbBlockCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Modes
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class CfbBlockCipher : IBlockCipher
- Inheritance
-
CfbBlockCipher
- Implements
-
- Inherited Members
-
Constructors
CfbBlockCipher(IBlockCipher, int)
public CfbBlockCipher(IBlockCipher cipher, int bitBlockSize)
Parameters
cipher IBlockCipher
bitBlockSize int
Properties
AlgorithmName
public string AlgorithmName { get; }
Property Value
- string
IsPartialBlockOkay
public bool IsPartialBlockOkay { get; }
Property Value
- bool
Methods
DecryptBlock(byte[], int, byte[], int)
public int DecryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff)
Parameters
input byte[]
inOff int
outBytes byte[]
outOff int
Returns
- int
EncryptBlock(byte[], int, byte[], int)
public int EncryptBlock(byte[] input, int inOff, byte[] outBytes, int outOff)
Parameters
input byte[]
inOff int
outBytes byte[]
outOff int
Returns
- int
GetBlockSize()
public int GetBlockSize()
Returns
- int
GetUnderlyingCipher()
public IBlockCipher GetUnderlyingCipher()
Returns
- IBlockCipher
Init(bool, ICipherParameters)
public void Init(bool forEncryption, ICipherParameters parameters)
Parameters
forEncryption bool
parameters ICipherParameters
ProcessBlock(byte[], int, byte[], int)
public int ProcessBlock(byte[] input, int inOff, byte[] output, int outOff)
Parameters
input byte[]
inOff int
output byte[]
outOff int
Returns
- int
Reset()