Function truncate_seed

Source
pub fn truncate_seed<S>(
    seed: S,
    word_count: &WordCount,
) -> Result<Mnemonic, Error>
where S: AsRef<str>,
Expand description

Truncates a seed’s number of words to word_count by truncating its entropy.