sendUnauthenticatedEncryptedMessage method

BuBytes sendUnauthenticatedEncryptedMessage(
  1. bool meta,
  2. List<int> plaintext
)

Encrypt and send data without authentication in Strobe.

Parameters:

  • meta: A boolean flag indicating whether metadata is included in the operation.
  • plaintext: The plaintext data to be encrypted and sent.

Implementation

BuBytes sendUnauthenticatedEncryptedMessage(bool meta, List<int> plaintext) {
  return operate(meta, StrobeOperation.sendEnc, plaintext, 0, false);
}