SecretStream class abstract

A meta class that provides access to all libsodium secretstream APIs.

This class provides the dart interface for the crypto operations documented in https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream. Please refer to that documentation for more details about these APIs.

Properties

aBytes int
Provides crypto_secretstream_xchacha20poly1305_ABYTES.
no setter
hashCode int
The hash code for this object.
no setterinherited
headerBytes int
Provides crypto_secretstream_xchacha20poly1305_HEADERBYTES.
no setter
keyBytes int
Provides crypto_secretstream_xchacha20poly1305_KEYBYTES.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createPullChunked({required SecureKey key, required int chunkSize, bool requireFinalized = true}) StreamTransformer<List<int>, List<int>>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
createPullEx(SecureKey key, {bool requireFinalized = true}) SecretExStreamTransformer<SecretStreamCipherMessage, SecretStreamPlainMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
createPushChunked({required SecureKey key, required int chunkSize}) StreamTransformer<List<int>, List<int>>
Provides crypto_secretstream_xchacha20poly1305_(init_)push.
createPushEx(SecureKey key) SecretExStreamTransformer<SecretStreamPlainMessage, SecretStreamCipherMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)push.
keygen() SecureKey
Provides crypto_secretstream_xchacha20poly1305_keygen.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullChunked({required Stream<List<int>> cipherStream, required SecureKey key, required int chunkSize}) Stream<List<int>>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
pullEx({required Stream<SecretStreamCipherMessage> cipherStream, required SecureKey key}) SecretExStream<SecretStreamPlainMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
pushChunked({required Stream<List<int>> messageStream, required SecureKey key, required int chunkSize}) Stream<List<int>>
Provides crypto_secretstream_xchacha20poly1305_(init_)push.
pushEx({required Stream<SecretStreamPlainMessage> messageStream, required SecureKey key}) SecretExStream<SecretStreamCipherMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)push.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited