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

createPull(SecureKey key, {bool requireFinalized = true}) StreamTransformer<Uint8List, Uint8List>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
createPullEx(SecureKey key, {bool requireFinalized = true}) SecretExStreamTransformer<SecretStreamCipherMessage, SecretStreamPlainMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
createPush(SecureKey key) StreamTransformer<Uint8List, Uint8List>
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
pull({required Stream<Uint8List> cipherStream, required SecureKey key}) Stream<Uint8List>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
pullEx({required Stream<SecretStreamCipherMessage> cipherStream, required SecureKey key}) SecretExStream<SecretStreamPlainMessage>
Provides crypto_secretstream_xchacha20poly1305_(init_)pull.
push({required Stream<Uint8List> messageStream, required SecureKey key}) Stream<Uint8List>
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