- getStreamPosition
Gets the position of the stream.
- calculateIV
This method is only for Counter (CTR) mode. Generally the CryptoCipher
calculates the IV and mainta
- checkStream
- decrypt
Decrypts all data in buf: total n bytes from given start position. Output is
also buf and same start
- decryptBuffer
Does the decryption using out as output.
- decryptInPlace
Does the decryption using inBuffer as input and buf as output. Upon return,
inBuffer is cleared; the
- getCounter
Gets the counter for input stream position.
- getPadding
Gets the padding for input stream position.
- getStreamOffset
Gets the offset of the stream.
- postDecryption
This method is executed immediately after decryption. Checks whether cipher
should be updated and re
- read
- resetCipher
Calculates the counter and iv, resets the cipher.