initialize abstract method

Future<void> initialize({
  1. required bool isEncrypting,
  2. required SecretKey secretKey,
  3. required List<int> nonce,
  4. List<int> aad = const [],
  5. int keyStreamIndex = 0,
})

Initializes the state with the given secretKey, nonce, and aad.

Implementation

Future<void> initialize({
  required bool isEncrypting,
  required SecretKey secretKey,
  required List<int> nonce,
  List<int> aad = const [],
  int keyStreamIndex = 0,
});