MoneroMnemonicEncoder class

A class that provides utility for encoding entropy into Monero mnemonics.

This class serves as a convenient utility for encoding entropy into Monero mnemonics. It encapsulates instances of both MoneroMnemonicNoChecksumEncoder and MoneroMnemonicWithChecksumEncoder, allowing you to choose whether to include a checksum in the generated mnemonic.

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
nochecksumEncoder MoneroMnemonicNoChecksumEncoder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
withChecksumEncoder MoneroMnemonicWithChecksumEncoder
final

Methods

encodeNoChecksum(List<int> entropyBytes) Mnemonic
Encodes the provided entropy bytes into a Monero mnemonic without a checksum.
encodeWithChecksum(List<int> entropyBytes) Mnemonic
Encodes the provided entropy bytes into a Monero mnemonic with a checksum.
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