SuiCryptoUtils class
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
-
decodeSuiSecretKey(
String secretKey) → (SuiKeyAlgorithm, List< int> ) - Decodes a Sui Bech32 secret key into its corresponding private key.
-
encodeSuiSecretKey(
List< int> secretKey, {EllipticCurveTypes? type, SuiKeyAlgorithm? keyScheme}) → String - Encodes the Sui private key to a Bech32 string.
-
generatePersonalMessageDigest(
List< int> message) → List<int> - generate sui personal message
-
generateTransactionDigest(
{required List< int> txBytes, required bool hashDigest}) → List<int> - generate sui transaction digest for signing.
-
getIndexesFromBitmap(
int bitMap) → List< int> - get public key indexes from signature bitmat.