stream abstract method
Get the signature from an aynchronous stream of data.
This is a shortcut for createConsumer, which simply calls Stream.pipe
on the messages
stream and pipes it into the consumer. The returned
result is the signature over all the data in the messages
stream,
created by secretKey
.
See https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures#multi-part-messages
Implementation
Future<Uint8List> stream({
required Stream<Uint8List> messages,
required SecureKey secretKey,
});