createPush abstract method

Provides crypto_secretstream_xchacha20poly1305_(init_)push.

Works just like push, but instead of creating a stream, it creates a StreamTransformer with key, which can then be used to create push encryption streams from it.

See createPushEx for more details on then encryption process.

Implementation

StreamTransformer<Uint8List, Uint8List> createPush(SecureKey key);