openCombined method

Uint8List openCombined(
  1. List<int> nonce,
  2. List<int> combined, {
  3. List<int> aad = const [],
})

Convenience: open on ciphertext || tag.

Implementation

Uint8List openCombined(
  List<int> nonce,
  List<int> combined, {
  List<int> aad = const [],
}) => open(
  nonce,
  SealedBox.fromCombined(combined, tagLength: tagLength),
  aad: aad,
);