Class AESCipherCBCnoPad
Creates an AES Cipher with CBC and no padding.
public class AESCipherCBCnoPad
- Inheritance
-
AESCipherCBCnoPad
- Inherited Members
Constructors
AESCipherCBCnoPad(bool, byte[])
Creates a new instance of AESCipher with CBC and no padding
public AESCipherCBCnoPad(bool forEncryption, byte[] key)
Parameters
forEncryption
boolif true the cipher is initialised for encryption, if false for decryption
key
byte[]the key to be used in the cipher
AESCipherCBCnoPad(bool, byte[], byte[])
Creates a new instance of AESCipher with CBC and no padding
public AESCipherCBCnoPad(bool forEncryption, byte[] key, byte[] initVector)
Parameters
forEncryption
boolif true the cipher is initialised for encryption, if false for decryption
key
byte[]the key to be used in the cipher
initVector
byte[]initialization vector to be used in cipher
Methods
ProcessBlock(byte[], int, int)
Processes data block using created cipher.
public virtual byte[] ProcessBlock(byte[] inp, int inpOff, int inpLen)
Parameters
Returns
- byte[]
Processed bytes