NaClDetached class
NaCl Detached
- Annotations
Constructors
- NaClDetached.new()
-
NaCl
sign.detached
methods.const
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
-
call(
Uint8List message, Uint8List seckey) → Future< Uint8List> -
Signs
message
using theseckey
and returns thesignature
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sync(
Uint8List message, Uint8List seckey) → Uint8List -
Signs
message
using theseckey
and returns thesignature
. -
toString(
) → String -
A string representation of this object.
inherited
-
verify(
Uint8List message, Uint8List signature, Uint8List pubkey) → Future< bool> -
Returns true if the
signature
was derived by signing themessage
usingpubkey
'ssecret key
. -
verifySync(
Uint8List message, Uint8List signature, Uint8List pubkey) → bool -
Returns true if the
signature
was derived by signing themessage
usingpubkey
'ssecret key
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited