UAead class abstract
Authenticated encryption over raw bytes. seal returns ciphertext ‖ tag(16).
Constructors
- UAead()
Properties
- algorithmId → int
-
Recorded in every vault header: 1 = ChaCha20-Poly1305 (native), 2 = AES-256-GCM (web).
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
Uint8List nonce, Uint8List sealed) → Future< Uint8List> - Throws UAuthenticationException when the data was tampered with.
-
seal(
Uint8List nonce, Uint8List plain) → Future< Uint8List> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited