Finish the operation either appending or verifying the MAC at the end of the data.
number of bytes written into out.
IllegalStateError = if the cipher is in an inappropriate state. dcrypt.exceptions.InvalidCipherTextException = if the MAC fails to match.
See Implementation
Finish the operation either appending or verifying the MAC at the end of the data.