public class AESCipherCBCnoPad extends Object
Constructor and Description |
---|
AESCipherCBCnoPad(boolean forEncryption, byte[] key)
Creates a new instance of AESCipher with CBC and no padding
|
AESCipherCBCnoPad(boolean forEncryption, byte[] key, byte[] initVector)
Creates a new instance of AESCipher with CBC and no padding
|
Modifier and Type | Method and Description |
---|---|
byte[] |
processBlock(byte[] inp, int inpOff, int inpLen) |
public AESCipherCBCnoPad(boolean forEncryption, byte[] key)
forEncryption
- if true the cipher is initialised for encryption, if false for decryption
key
- the key to be used in the cipher
public AESCipherCBCnoPad(boolean forEncryption, byte[] key, byte[] initVector)
forEncryption
- if true the cipher is initialised for encryption, if false for decryption
key
- the key to be used in the cipher
initVector
- initialization vector to be used in cipher
Copyright © 1998–2021 iText Group NV. All rights reserved.