LocalV1 class
- Annotations
-
- @immutable
Constructors
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
calculateMac(
Uint8List preAuthenticationEncoding, {required SymmetricSubkeys subkeys}) → Future< Hash> -
decodePayload(
List< int> bytes) → Payload -
decrypt(
Token token, {required SecretKey secretKey}) → Future< Package> -
encrypt(
Package package, {required SecretKey secretKey}) → Future< Payload> -
sign(
List< int> preAuthenticationEncoding, {required KeyPair keyPair}) → Future<Signature> -
verify(
List< int> preAuthenticationEncoding, {required Signature signature}) → Future<bool>
Constants
- halfNonceLength → const int
- header → const Header
- macLength → const int
- nonceLength → const int