SealedBox class final

Ciphertext plus its authentication tag, kept separate so callers can pick their own wire format. combined is ciphertext || tag, the layout at_chops' AesGcm256FfiAlgo and most protocols use.

Constructors

SealedBox(List<int> ciphertext, List<int> tag)
SealedBox.fromCombined(List<int> combined, {int tagLength = 16})
Splits ciphertext || tag with a tagLength-byte tag (16 by default).
factory

Properties

ciphertext → Uint8List
final
combined → Uint8List
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → Uint8List
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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