receivedClearText method

void receivedClearText(
  1. bool meta,
  2. List<int> cleartext
)

Process received clear text within the Strobe protocol.

The receivedClearText method is used to process received clear text within the Strobe protocol. It applies operations specific to received clear text data while considering the provided metadata.

Parameters:

  • meta: A boolean flag indicating whether metadata is included in the operation.
  • cleartext: A List<int> containing the received clear text data to be processed.

Usage:

`List<int>` receivedData = ...; // Received clear text data.
strobeInstance.receivedClearText(true, receivedData);
// Process the received clear text data within the Strobe protocol.

The receivedClearText method is essential for handling received clear text data as part of the Strobe protocol, ensuring that the necessary cryptographic operations are applied.

Implementation

void receivedClearText(bool meta, List<int> cleartext) {
  operate(meta, StrobeOperation.recvClr, cleartext, 0, false);
}