AlgorandMnemonicUtils class
Utility class for Algorand mnemonic related operations.
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
-
computeChecksum(
List< int> dataBytes) → List<int> -
Computes the checksum for the given
dataBytes
using SHA-512/256. -
computeChecksumWordIndex(
List< int> dataBytes) → int -
Computes a checksum word index for the given
dataBytes
. -
convertBits(
List< int> data, int fromBits, int toBits) → List<int> ? - Perform bit conversion. The function takes the input data (list of integers or byte sequence) and converts every value from the specified number of bits to the specified one. It returns a list of integers where every number is less than 2^toBits.