public final class AesFlushingCipher
extends java.lang.Object
Cipher
.
Unlike a regular Cipher
, the update methods of this class are guaranteed to process all
of the bytes input (and hence output the same number of bytes).Constructor and Description |
---|
AesFlushingCipher(int mode,
byte[] secretKey,
long nonce,
long offset) |
Modifier and Type | Method and Description |
---|---|
void |
update(byte[] in,
int inOffset,
int length,
byte[] out,
int outOffset) |
void |
updateInPlace(byte[] data,
int offset,
int length) |