SuiED25519PrivateKey class

Represents a Sui ED25519 private key with signing capabilities.

Inheritance

Constructors

SuiED25519PrivateKey.fromBytes(List<int> keyBytes)
Creates an instance from raw private key bytes.
factory

Properties

algorithm SuiKeyAlgorithm
finalinherited
hashCode int
The hash code for this object.
no setterinherited
publicKey SuiED25519PublicKey
Returns the corresponding public key for the private key.
latefinal
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
sign(List<int> digest) SuiGenericSignature
Signs a digest and returns the signature.
override
toBytes() List<int>
Returns the raw bytes of the private key.
override
toHex({bool lowerCase = false}) String
Returns the hexadecimal representation of the private key.
override
toString() String
A string representation of this object.
inherited
toSuiPrivateKey() String
Encodes the Sui private key to a Bech32 string.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited