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 decryptionkey
- the key to be used in the cipheriv
- initialization vector to be used in cipherCopyright © 1998–2023 Apryse Group NV. All rights reserved.