NaClKeypair class
NaCl Keypair
- Annotations
-
- @protected
Constructors
- NaClKeypair()
-
NaCl
sign.keypairmethods.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(
) → Future< Ed25519Keypair> - Generates a random keypair.
-
fromSeckey(
Uint8List seckey) → Future< Ed25519Keypair> -
Creates a keypair from a
seckeybyte array. -
fromSeckeySync(
Uint8List seckey) → Ed25519Keypair -
Creates a keypair from a
seckeybyte array. -
fromSeed(
Uint8List seed) → Future< Ed25519Keypair> -
Creates a keypair from a
32-byteseed. -
fromSeedSync(
Uint8List seed) → Ed25519Keypair -
Creates a keypair from a
32-byteseed. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sync(
) → Ed25519Keypair - Generates a random keypair.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited