AlgorandMnemonicDecoder class
Decodes Algorand mnemonics to obtain the corresponding entropy.
- Inheritance
-
- Object
- MnemonicDecoderBase
- AlgorandMnemonicDecoder
Constructors
- AlgorandMnemonicDecoder([AlgorandLanguages? language = AlgorandLanguages.english])
- Creates an instance of AlgorandMnemonicDecoder with an optional language setting.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → MnemonicLanguages?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wordsList → MnemonicWordsList?
-
finalinherited
- wordsListFinder → MnemonicWordsListFinderBase
-
finalinherited
Methods
-
decode(
String mnemonic) → List< int> -
Decodes an Algorand mnemonic phrase and returns the corresponding entropy as a byte list.
override
-
findLanguage(
Mnemonic mnemonic) → Tuple< MnemonicWordsList, MnemonicLanguages> -
Finds the language and word list for a given mnemonic phrase.
inherited
-
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