Sender class
A stateful HPKE sender context for multi-message encryption.
Each call to seal encrypts a message using an auto-incrementing nonce, ensuring unique ciphertexts even for identical plaintexts.
The corresponding Receiver must process messages in the same order they were sealed.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seal(
{required Uint8List msgToSeal, required Uint8List msgToAuth}) → Uint8List - Encrypts a message using the next nonce in the sequence.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited