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