pull abstract method

Stream<Uint8List> pull({
  1. required Stream<Uint8List> cipherStream,
  2. required SecureKey key,
})

Provides crypto_secretstream_xchacha20poly1305_(init_)pull.

Transforms the cipherStream of encrypted messages to a decrypted plain stream using crypto_secretstream_xchacha20poly1305_pull with the given key. This is simply a shortcut for pullEx in case you only have cipher messages and don't care about additional data or tags.

See pullEx for more details on then decryption process.

Implementation

Stream<Uint8List> pull({
  required Stream<Uint8List> cipherStream,
  required SecureKey key,
});