MoneroMnemonicGenerator class

A class responsible for generating Monero mnemonics from entropy.

This class simplifies the process of generating Monero mnemonics from entropy. It uses an instance of MoneroMnemonicEncoder to encode entropy into mnemonics, allowing you to choose whether to include a checksum in the generated mnemonic.

Constructors

MoneroMnemonicGenerator([MoneroLanguages language = MoneroLanguages.english])
Constructs a MoneroMnemonicGenerator with an optional language parameter.

Properties

encoder MoneroMnemonicEncoder
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromEntropyNoChecksum(List<int> entropyBytes) Mnemonic
Generates a Monero mnemonic from entropy without a checksum.
fromEntropyWithChecksum(List<int> entropyBytes) Mnemonic
Generates a Monero mnemonic from entropy with a checksum.
fromWordsNumber(MoneroWordsNum wordsNum) Mnemonic
Generates a Monero mnemonic of a specified word count.
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