SecureP256 class
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
-
decrypt(
{required Uint8List iv, required Uint8List cipher}) → Future< Uint8List> -
encrypt(
{required Uint8List message}) → Future< Tuple2< Uint8List, Uint8List> > -
Return
iv, cipher
. -
getPublicKey(
String tag) → Future< P256PublicKey> -
sign(
String tag, Uint8List payload) → Future< Uint8List> -
verify(
Uint8List payload, P256PublicKey publicKey, Uint8List signature) → Future< bool>