secret_stream library

Encrypt messages with a secret key as a stream. Maps libsodium's crypto_secretstream_* api

Classes

PullStream
Decryption stream
PushStream
Encryption stream

Mixins

Rekey

Properties

aBytes int
final
keyBytes int
final
msgBytesMax int
final

Functions

keyGen() UnmodifiableUint8ListView
Generates a key for a secret stream.

Enums

Tag
Marks the state of the stream (see libsodium documentation)

Exceptions / Errors

InitStreamError
PullError
PushError