I am using AES-GCM mode for encryption and decryption. After creating the cipher, after cipher.finish() the tag in cipher.mode.tag is a ByteStringBuffer with empty string in data. Do I have to insert the tag manually or will it get generated automatically based on the message?
I am using AES-GCM mode for encryption and decryption. After creating the cipher, after
cipher.finish()
the tag in cipher.mode.tag is a ByteStringBuffer with empty string in data. Do I have to insert the tag manually or will it get generated automatically based on the message?