MoneroMnemonicDecoder class
Decoder for Monero-style mnemonics with language support.
- Inheritance
-
- Object
- MnemonicDecoderBase
- MoneroMnemonicDecoder
Constructors
- MoneroMnemonicDecoder([MoneroLanguages? language = MoneroLanguages.english])
- Creates a Monero mnemonic decoder with an optional language parameter. Defaults to the English language.
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 a Monero mnemonic string into a 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
-
validateCheckSum(
List< String> words, MoneroLanguages language) → void - Validates the checksum of a list of Monero mnemonic words.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited