I\'m trying to convert this C# code to Java code to implement Authenticated Encryption.
The encryption is not happening properly. I want to know the equivalents of Tr