Seals a chunk in place. The chunk is complete: its headers (the MessageSize includes the tag), its
sequence header and its body, with 16 bytes left at the end for the tag.
signAndEncrypt: the first 16 bytes are the additional data, and the bytes from the sequence header
to the tag are encrypted;
otherwise nothing is encrypted and the additional data is the whole chunk before the tag.
previousSequenceNumber is the number of the last chunk sent in the same direction on the channel.
Seals a chunk in place. The chunk is complete: its headers (the MessageSize includes the tag), its sequence header and its body, with 16 bytes left at the end for the tag.
signAndEncrypt: the first 16 bytes are the additional data, and the bytes from the sequence header to the tag are encrypted;previousSequenceNumberis the number of the last chunk sent in the same direction on the channel.