[−][src]Trait wagyu_monero::wordlist::MoneroWordlist
The interface for a Monero wordlist.
Associated Constants
const WORDLIST: &'static str
The wordlist in original form.
const PREFIX_LENGTH: usize
The prefix length for computing the checksum.
Provided methods
fn get(index: usize) -> Result<String, WordlistError>
Returns the word of a given index from the word list.
fn get_index(word: &str) -> Result<usize, WordlistError>
Returns the index of a given word from the word list.
fn get_index_trimmed(trimmed_word: &str) -> Result<usize, WordlistError>
Returns the index of a given trimmed word from the word list.
fn get_all() -> Vec<&'static str>
Returns the word list as a string.
fn get_all_trimmed() -> Vec<String>
Returns the word list as a string.
fn to_trimmed(word: &str) -> String
Returns the trimmed word for a given prefix length.
Implementors
impl MoneroWordlist for ChineseSimplified
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Dutch
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for English
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for EnglishOld
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Esperanto
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for French
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for German
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Italian
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Japanese
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Lojban
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Portuguese
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.
impl MoneroWordlist for Russian
[src]
const WORDLIST: &'static str
[src]
The wordlist in original form.
const PREFIX_LENGTH: usize
[src]
The prefix length for computing the checksum.