key method

void key(
  1. List<int> key
)

Set a key for the Strobe protocol.

The key method is used to set a key for the Strobe protocol. This key can be used for cryptographic operations within the protocol.

Parameters:

  • key: A List<int> representing the key to be set.

Usage:

List<int> secretKey = ...; // Your secret key.
strobeInstance.key(secretKey);
// Set the secret key for cryptographic operations.

This method is essential for initializing the Strobe protocol with the required key material for secure communication.

Implementation

void key(List<int> key) {
  operate(false, StrobeOperation.key, key, 0, false);
}