SecretStreamCipherMessage constructor

const SecretStreamCipherMessage(
  1. Uint8List message, {
  2. Uint8List? additionalData,
})

Default constructor

Implementation

const factory SecretStreamCipherMessage(
  /// The message that should be decrypted.
  Uint8List message, {
  /// Additional data, that should be used to generate authentication data.
  ///
  /// See https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream#decryption
  Uint8List? additionalData,
}) = _SecretStreamCipherMessage;