Class KCtrBlockCipher
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Modes
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class KCtrBlockCipher : IStreamCipher, IBlockCipher
- Inheritance
-
KCtrBlockCipher
- Implements
-
- Inherited Members
-
Constructors
KCtrBlockCipher(IBlockCipher)
public KCtrBlockCipher(IBlockCipher cipher)
Parameters
cipher
IBlockCipher
Properties
AlgorithmName
public string AlgorithmName { get; }
Property Value
- string
IsPartialBlockOkay
public bool IsPartialBlockOkay { get; }
Property Value
- bool
Methods
CalculateByte(byte)
protected byte CalculateByte(byte b)
Parameters
b
byte
Returns
- byte
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
ProcessBytes(byte[], int, int, byte[], int)
public void ProcessBytes(byte[] input, int inOff, int len, byte[] output, int outOff)
Parameters
input
byte[]
inOff
int
len
int
output
byte[]
outOff
int
Reset()
ReturnByte(byte)
public byte ReturnByte(byte input)
Parameters
input
byte
Returns
- byte